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
Solved

intraweb - Floating a IWRegion

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

839 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