Solved

intraweb - Floating a IWRegion

Posted on 2010-11-17
3
1,229 Views
Last Modified: 2013-11-23
is there a way to move an IWRegion..
I know there is an issue with refreshing/updating..
an example to move an iwRegion say 5 pixels left would be ancceptable  solution.

IMPORTANT: UPdateMode is umAll  ans can not be changed!

TIA
0
Comment
Question by:controlr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 24

Expert Comment

by:jimyX
ID: 34162350
You can move it in an event such as button click. I have tried the following and it was OK:

Procedure TForm1.IWMoveLeftButtonClick(Sender :TObject);
begin
  IWRegion1.left := IWRegion1.left + 5;
end;

If you want to move it only once you can create a flag and set it once the event is called then hide the button.

var
   flag : Boolean = false;

Procedure TForm1.IWMoveLeftButtonClick(Sender :TObject);
begin
  if not flag then
    begin
      IWRegion1.left := IWRegion1.left + 5;
      IWMoveLeftButton.hide;
    end;
end;
IWRegion.JPG
0
 

Accepted Solution

by:
controlr earned 0 total points
ID: 34166814
I need it to be moved on a TimerAsynch event.. few pixels every time..
Back and forth on the screen

Again.. the updadate mode is umAll and can not refresh the screen.
0
 

Author Closing Comment

by:controlr
ID: 34228773
Made it work
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question