Thx Arnaud,
since it is only 2 weeks I'm using RB haven't look into declares. But
do I understand it correctly that the solution you are giving me only
works on Mac and not on Win or Linux ?
The solution I need has to work on all platforms
Do i need to do #pragma and have other libs for the other platforms?
Any ideas what they are called ?
And more general. Is this functionality not often required? Should I
need to make a feature request ?
TIA
Bart
On 29-sep-06, at 13:39, Arnaud Nicolet wrote:
Le 29 sept. 06 à 11:10 Matin, Bart Pietercil a écrit:
Hi List,
I didn't find a way to enable or disable one (or more but not all)
pages of a tabpanel. How would I go about disabling a second page
of a tabpanel while not disabling the first page?
Not possible or .....?
Use this declare:
Sub EnableOrDisableTab(ThePanel As TabPanel,TabIndex As
Integer,enabled As Boolean)
dim err as integer
declare function SetTabEnabled lib "AppearanceLib" (tabcontrol as
Integer, tabindex as short, enabled as boolean) as Short
err = SetTabEnabled(ThePanel.MacControlHandle, TabIndex, enabled)
'if err<>0 then an error occurred
End sub
For MacOS X, replace "AppearanceLib" with
"CarbonLib"_______________________________________________
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>
_______________________________________________
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>