Solved

intraweb - Floating a IWRegion

Posted on 2010-11-17
3
1,189 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
  • 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now