Hi.
Iis it possible to define the position of a control to sam create oe another event?
Best Regard
Andrea
Move control in run time
Re: Move control in run time
Hi,
You can use VisWinMove, part of the VisualToolchest which is included with TD.
You can use VisWinMove, part of the VisualToolchest which is included with TD.
Igor Ivanovic


Re: Move control in run time
Tank's Igor
I try immediately...
I try immediately...
Re: Move control in run time
I am trying this code, but the datafield disappears, where am i wrong?
On SAM_Create
Call VisWinMove(dfnAVAILABLE_FUNDS,2.183,0.988,1.93,0.25)
Re: Move control in run time
Maybe I understand, the values I put come from the control properties and are expressed in inches, I converted them to pixels and now I see it.
However I expected to find it in the same original location.
However I expected to find it in the same original location.
-
- Founder/Site Admin
- Posts: 3512
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Re: Move control in run time
Yes.
You can use
VisWinMove
uses pixels.You can use
SalSetWindowLoc
which uses form units.Regards,
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Re: Move control in run time
Tanks! Dave
Was what I needed...
Andrea
Was what I needed...
Andrea
Who is online
Users browsing this forum: [Ccbot] and 5 guests