Page 2 of 2

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

Posted: Fri Feb 04, 2011 1:59 am
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

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

Posted: Fri Feb 04, 2011 2:32 am
by amnunez
Dear Sir James,

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


regards,
apollo