1200. Fixed a long-time problem with DCBROWSE objects that employ the
DC_BrowseAutoRestore() feature. If a new column is added to the browse
in the code, the user will now receive a message that the user's browse
configuration could not be restored, rather than showing a corrupted
display. A new DC_XbpBrowse() :configMessageBlock iVar can be used to
display a custom message.
Roger,
The way we implement browses, this is causing a problem for our clients. is there a way to bypass the dcmsgbox that pops up saying: "Your Saved Browse configuration cannot be restored"
I'd like to skip the msg altogether..
dcbrowse autorestore
dcbrowse autorestore
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Re: dcbrowse autorestore
Try this:
Code: Select all
@ .. DCBROWSE .. PREEVAL {|o|o:configMessageBlock := {||nil}}
The eXpress train is coming - and it has more cars.
Re: dcbrowse autorestore
Roger,rdonnay wrote:Try this:
Code: Select all
@ .. DCBROWSE .. PREEVAL {|o|o:configMessageBlock := {||nil}}
Anyway to do that globally ?
Brian
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Re: dcbrowse autorestore
A global solution would require a Get-Set function.Anyway to do that globally ?
Attached is an updated _DCXBROW.PRG.
Copy it to \exp19\source\dclipx and run BUILD19_SL1.BAT to rebuild DCLIPX.DLL.
Add the following to the start of your application:
Code: Select all
DC_BrowseConfigMessageBlock({||nil})
- Attachments
-
- _dcxbrow.zip
- (28.5 KiB) Downloaded 557 times
The eXpress train is coming - and it has more cars.
Re: dcbrowse autorestore
Oops. Left a WTF in the code.
Here's an update.
Here's an update.
- Attachments
-
- _dcxbrow.zip
- (28.5 KiB) Downloaded 559 times
The eXpress train is coming - and it has more cars.
Re: dcbrowse autorestore
Looks like it's working w/ no problems..
thanks..
thanks..
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises