FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Hide a GroupBox
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Hide a GroupBox
Posted: Sat Feb 13, 2010 11:40 AM
Hi all,
I need to hide this GroupBox but I don't know how I can proceed because I haven't defined the GroupBox in my code so I can't call a oObj:Hide().
Anyone know how can I define this groupbox in my code ?






This is from the resource workshop:


Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Hide a GroupBox
Posted: Sat Feb 13, 2010 12:58 PM
Marco,

In the resource change the control ID from -1 to a different value, i.e.: 900

Then from your code, you can access it this way:
Code (fw): Select all Collapse
ShowWindow( GetDlgItem( oDlg:hWnd, 900 ), 0 )
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion