Solved

intraweb - Floating a IWRegion

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
QRReport  TQrmemo vertical stretching 1 46
JAudiorecorder record freezing the app 29 67
Dynamically Created Query 3 55
Firemonkey BASS_Init into a thread 17 9
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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