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

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

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

Post by James Bott »

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

if lWantScrollbars
   redefine xbrowse oBrw ID 101...  // has scrollbars
else
   redefine xbrowse oBrw ID 102...  // no scrollbars
endif

Regards,
James
amnunez
Posts: 24
Joined: Mon Jan 11, 2010 8:18 am

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

Post by amnunez »

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
Post Reply