Disabling scrollbars(H and V) in redefined xbrowse at runtim

Re: Disabling scrollbars(H and V) in redefined xbrowse at runtim

Postby James Bott » Fri Feb 04, 2011 1:59 am

Apollo,

OK, but if you know that you don't want scrollbars when you define the browse you can do something like this.

Define two browses in the resource file, one with scrollbars and one without. Then in your code do:

Code: Select all  Expand view
if lWantScrollbars
   redefine xbrowse oBrw ID 101...  // has scrollbars
else
   redefine xbrowse oBrw ID 102...  // no scrollbars
endif

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Disabling scrollbars(H and V) in redefined xbrowse at runtim

Postby amnunez » Fri Feb 04, 2011 2:32 am

Dear Sir James,

Ok sir, i will try ur idea... thank very much for ur time.... :D


regards,
apollo
FWH10.6|BCC5.82|PELLEC|XMATE
amnunez
 
Posts: 24
Joined: Mon Jan 11, 2010 8:18 am

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi, RSalazarU and 53 guests