FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Disabling scrollbars(H and V) in redefined xbrowse at runtim
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Disabling scrollbars(H and V) in redefined xbrowse at runtim
Posted: Fri Feb 04, 2011 01: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 (fw): Select all Collapse
if lWantScrollbars
   redefine xbrowse oBrw ID 101...  // has scrollbars
else
   redefine xbrowse oBrw ID 102...  // no scrollbars
endif

Regards,
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 24
Joined: Mon Jan 11, 2010 08:18 AM
Re: Disabling scrollbars(H and V) in redefined xbrowse at runtim
Posted: Fri Feb 04, 2011 02:32 AM

Dear Sir James,

     Ok sir, i will try ur idea... thank very much for ur time....  <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->

regards,
apollo

FWH10.6|BCC5.82|PELLEC|XMATE

Continue the discussion