in addition oBrowse:forceStable() return an object instead of logical value, as the xbase manual show:
":forceStable() returns .T. (true) when the display is stable. "
so I can't even create the usual loop to stabilize the browse:
do while !oBrowse:forceStable(); enddo
Search found 49 matches
- Fri Feb 25, 2022 3:57 am
- Forum: eXpress++ Support
- Topic: DCBROWSE - row cursor on/off
- Replies: 12
- Views: 8155
- Fri Feb 25, 2022 3:45 am
- Forum: eXpress++ Support
- Topic: DCBROWSE - row cursor on/off
- Replies: 12
- Views: 8155
Re: DCBROWSE - row cursor on/off
I'm trying all the combinations, for example:
oBrowse:deHilite()
oBrowse:refreshCurrent()
oBrowse:cursorMode := XBPBRW_CURSOR_NONE
oBrowse:configure()
the cursor always remains on
oBrowse:deHilite()
oBrowse:refreshCurrent()
oBrowse:cursorMode := XBPBRW_CURSOR_NONE
oBrowse:configure()
the cursor always remains on
- Fri Feb 25, 2022 3:24 am
- Forum: eXpress++ Support
- Topic: DCBROWSE - row cursor on/off
- Replies: 12
- Views: 8155
DCBROWSE - row cursor on/off
I point out some strange behaviors in the DCBROWSE when i disable/enable highlight cursor in XBPBRW_CURSOR_ROW mode // enable row cursor oBrowse:cursorMode := XBPBRW_CURSOR_ROW oBrowse:configure() oBrowse:hilite() oBrowse:refreshCurrent() oBrowse:forceStable() this works // disable row cursor oBrows...
- Wed Feb 23, 2022 8:52 am
- Forum: eXpress++ Support
- Topic: dcbrowse - insert row (new record)
- Replies: 7
- Views: 4503
Re: dcbrowse - insert row (new record)
but CellEdit example creates a new record (append) ?
I do not think there is the possibility to add a new record but only to edit the existing one
I do not think there is the possibility to add a new record but only to edit the existing one
- Wed Feb 23, 2022 8:27 am
- Forum: eXpress++ Support
- Topic: dcbrowse - insert row (new record)
- Replies: 7
- Views: 4503
dcbrowse - insert row (new record)
if I have to add a record in a dbf using TBROWSE() and hybride mode of xbase, I simulated the insertion by going to the end of the browse and creating a space (simulating a fake new line using SCROLL() for example) by to allow the GETs to compile them. if the data was confirmed, then I would append ...
- Fri Feb 18, 2022 8:48 am
- Forum: eXpress++ Support
- Topic: method to building a screen with many objects
- Replies: 16
- Views: 10921
Re: method to building a screen with many objects
yes Roger, i've tried BUSYMESSAGE option but I don't really like it because the progress bar (I think it's a thread) is positioned centrally on the screen and is untied from the window where the screen is composed I would prefer to check the construction of the screen trying to optimize the speed an...
- Fri Feb 18, 2022 6:21 am
- Forum: eXpress++ Support
- Topic: method to building a screen with many objects
- Replies: 16
- Views: 10921
Re: method to building a screen with many objects
Tom, I would like to experiment with your suggestion for creating screens as the user tries to access a TABPAGE if I understand correctly, the technique is to populate the next TABPAGE only when the object is made active his focus, right ? for example: @ 0,0 DCTABPAGE oTabPage2 CAPTION 'tabpage2' ; ...
- Thu Feb 17, 2022 3:56 am
- Forum: eXpress++ Support
- Topic: Automatic Updater for application
- Replies: 23
- Views: 16986
Re: Automatic Updater for application
I am interested in understanding more about how to keep my application updated.
does anyone want to share some code from which to start?
I use chilkat and I would like to use an sFTP area as a repository on a NAS, for example QNAP
does anyone want to share some code from which to start?
I use chilkat and I would like to use an sFTP area as a repository on a NAS, for example QNAP
- Thu Feb 17, 2022 3:50 am
- Forum: eXpress++ Support
- Topic: method to building a screen with many objects
- Replies: 16
- Views: 10921
Re: method to building a screen with many objects
Yes Tom, I understood your suggestion perfectly but my quick and acceptable solution was this: - I create always an XbpDialog (oDialog) to generate the screen where to build the GETs [ XbpDialog():New(oMainWindow, , aPos, aSize, , .F. ) ] - only this part is in :hide() state during the process of po...
- Thu Feb 17, 2022 12:45 am
- Forum: eXpress++ Support
- Topic: method to building a screen with many objects
- Replies: 16
- Views: 10921
Re: method to building a screen with many objects
I solved the problem by creating the dialog window with Visible = .F. and after building all GETs, TABPAGE, etc. i used:
DCGETOPTIONS EVAL {||dialog:show()}
If I've more time I will try Tom's solution using DC_MergeGetlists(), which sould be more efficient
Thanks to all for the help
DCGETOPTIONS EVAL {||dialog:show()}
If I've more time I will try Tom's solution using DC_MergeGetlists(), which sould be more efficient
Thanks to all for the help