Hmm,

basically you do it exactly as you said :-)

You simply go to the dialog source that corresponds to your resource file and on the corresponding member control call
SetPosPixel( Point( newX, newY ) )

However controls in dialogs are automatically mirrored in RTL case, is there some special case you want to handle ?

Kind regards, pl

Alan Yaniger wrote:
Hi list-members,


I'm interested in changing the position of a control defined in an *.src" file, based on whether the application language is RTL. If for example I have the following:


   Control WND_SAMPLE
   {

       ...

       Pos = MAP_APPFONT ( 6 , 18 ) ;

       ...
   };


and in the code I want to execute something like:


   if (bRTL)

WindowInstance.SetX(174) // change x-coordinate to 174 instead of 6


how do I do this?


Thanks,

Alan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
If you give someone a program, you will frustrate them for a day;
if you teach them how to program, you will frustrate them for a lifetime.
     -- Author unknown

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to