Search found 1174 matches

by Tom
Wed Feb 27, 2013 3:30 am
Forum: eXpress++ Support
Topic: Active get of getlist
Replies: 7
Views: 10095

Re: Active get of getlist

DC_GetEditActive(o) awaits an object as parameter. It tests whether the object (a DCGET, so a XbpSLE) is currently the active object or not. You need to know the objects to check for. If you want to know which object on the getlist currently has the input focus, you may add a custom handler and catc...
by Tom
Tue Feb 19, 2013 3:04 am
Forum: Announcements
Topic: Registration on this board
Replies: 10
Views: 26187

Re: Registration on this board

There are not only spambots out there (which are even able to answer captchas) - some spammers are real existing persons . The only way to keep up with this is what Roger did. Since there may be only few new users every month, it may take less time to confirm everybody manually compared to install a...
by Tom
Tue Feb 12, 2013 7:55 am
Forum: eXpress++ Support
Topic: Problem with dcbrowse and empty array
Replies: 13
Views: 15952

Re: Problem with dcbrowse and empty array

Hi, Roger. The only way to do this is to trap errors. You did this in earlier versions, right? That caused blank zones in browses with that kind of errors inside drawing routines or color codeblocks. This shows the limit of a framework like eXpress++. Programmers should still take care about their l...
by Tom
Tue Feb 12, 2013 6:56 am
Forum: eXpress++ Support
Topic: Problem with dcbrowse and empty array
Replies: 13
Views: 15952

Re: Problem with dcbrowse and empty array

I think the error appears since the zebra modifications. This maybe true for the color block. This: DCBROWSECOL DATA {||IF(DC_GetColArray(1,oBrowse)>1,"+","-")} PARENT oBROWSE ... caused an error since at least build #1 with an empty array. ;) It's almost the same thing. Accessing not existing data...
by Tom
Tue Feb 12, 2013 5:09 am
Forum: eXpress++ Support
Topic: Problem with dcbrowse and empty array
Replies: 13
Views: 15952

Re: Problem with dcbrowse and empty array

Hi, Chris. Older versions of eXpress++ weren't able to deal with empty arrays in browses, as I remember - doing so caused an error. Somewhere between build x and build y, Roger caught this situation, so browsing an array behaves somehow like browsing a table: If there is no record, the phantom recor...
by Tom
Tue Feb 12, 2013 3:58 am
Forum: eXpress++ Support
Topic: Problem with dcbrowse and empty array
Replies: 13
Views: 15952

Re: Problem with dcbrowse and empty array

Hi, Chris. If browsing arrays that can be empty, you need to take care about this when referencing this array maybe in data-codeblocks. The error is here: COLOR {|o,aSub|aSub := o:dataSource[o:arrayElement] , if(empty(aSub[1]),{ GRA_CLR_YELLOW , GRA_CLR_DARKGRAY},{ GRA_CLR_RED , GRA_CLR_DARKGRAY} )}...
by Tom
Wed Jan 30, 2013 5:18 am
Forum: eXpress++ Support
Topic: Invoke a api / webservice.
Replies: 9
Views: 12956

Re: Invoke a api / webservice.

Hi, Cliff. Just curious, what are the 3 lines of code. Okay, eight lines. ;) * include xb2net.ch, pragma xb2net.lib - if not already done STATIC FUNCTION GetContent(cUrl) LOCAL oHttp, oResponse, oForm, cContent oHttp := xbHTTPClient():New() oForm := xbForm():New() oForm:SetVar( ... ) // if needed oR...
by Tom
Mon Jan 28, 2013 12:57 pm
Forum: eXpress++ Support
Topic: Invoke a api / webservice.
Replies: 9
Views: 12956

Re: Invoke a api / webservice.

3 lines of code with Boris Borzic's Xb2.Net.

http://www.xb2.net/menu.htm
by Tom
Wed Jan 23, 2013 5:41 am
Forum: eXpress++ Support
Topic: Multirow Browsing
Replies: 6
Views: 10360

Re: Multirow Browsing

What is inside "bRightClick"?
by Tom
Wed Jan 02, 2013 2:20 am
Forum: eXpress++ Support
Topic: Save several arrays and variables of one file
Replies: 2
Views: 5635

Re: Save several arrays and variables of one file

Look at SAVE TO and RESTORE FROM in the Xbase++-docs. This mechanism allows to store/restore private and public vars (no locals or statics!), including arrays, codeblocks and objects. It's a simple mechanism that stores vars to a XPF-file (replacement for ".MEM" from Clipper-times), and it doesn't c...