Someoneelse advice some times ago on this list / subject was:
add a PushButton SuperClass to your project,
put your code below in the Open Event,
apply that SuperClass to the PushButtons you use in the project.
Faster, less code, neat...
The only question is: why do I have to do that ?
Emile
PS: comparing to Mac OS and Windows where I do not have to do that. The
Xplatform development that really works ?
[with help and work-arounds, probably]
Subject: Re: Linux PushButton height?
From: Tehenne <[EMAIL PROTECTED]>
Date: Thu, 4 May 2006 05:47:25 +0400
Le 4 mai 06 =E0 05:27, Mark O'Neill a =E9crit :
Hi All,
Wondering if anyone with a Linux version of RB can tell
me what the default height for a PushButton is?
OSX seems to be 20
XP seems to be 22
My solution ;o( :
In the event OPEN of each pushbutton this code :
#if targetLinux
me.top=3Dme.top-2
me.height=3D26
me.textSize=3D11
#endif
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>