Dear Sir, I use VBA to access dbf data via apollo engine. I am unable to replace dbf to the record appended successed. Anyone, please kindly teach/help me to correct the code as hereunder and kindly tell where I can find the sample code for reference ...
Is it possible to transform an xbrowse created from code to defined resource without using redefine declaration? If it is, please share the code... thanks in advance.
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: if lWantScrollbars ...
... the objects of scroll bars (oHScroll and oVScroll) become present but still disabling function and/or property are not working. thanks. regards, apollo
Hmm, if I remember correctly a browse will automatically hide or disable (I don't remember which) the scrollbar when it isn't needed (as determined by the number of records). Have you tested this?
... for instance), it is valid to just hide or disable the hscroll bar because there's no need for it.... though, thanks for the ideas.... :D regards, apollo
Apollo, It appears the oHVScroll and oVScroll objects are created by the resource editor when you use a resource and by code when you create the browse with code. Let me ask, are you wanting to disable the scrollbars at runtime ...
Thanks for ur great ideas. Sir James, i've tried the function disable() but the function was not present neither the oHScroll/oVScroll objects. I still wondered why these objects are not present in xbrowse object...