Search found 1168 matches

by Tom
Mon Mar 04, 2013 7:31 am
Forum: eXpress++ Support
Topic: Retrieve actual position and size of gelistelement
Replies: 4
Views: 7576

Re: Retrieve actual position and size of gelistelement

Try oGetListObject:DCCurrentPos()

This translates pixel values into line-col-coordinates aswell.
by Tom
Mon Mar 04, 2013 5:53 am
Forum: eXpress++ Support
Topic: Textsize
Replies: 12
Views: 16250

Re: Textsize

Hi, Rudolf.

This:

Code: Select all

? DC_GraQueryTextbox('iiii','8.Tahoma')
results: {8,13}

And this:

Code: Select all

? DC_GraQueryTextbox('WWWW','8.Tahoma')
results: {40,13}

Try "SAYOPTIONS XBPALIGN_RIGHT" with DCSAY.
by Tom
Mon Mar 04, 2013 5:17 am
Forum: eXpress++ Support
Topic: How to installl on the ActiveX computer?
Replies: 17
Views: 23459

Re: How to installl on the ActiveX computer?

You may also try the "REGISTER" clause of "DCACTIVEXCONTROL". Look at "..\samples\chadospell\ChadoSpell.prg" of your eXpress++-installation.
by Tom
Mon Mar 04, 2013 1:59 am
Forum: eXpress++ Support
Topic: Textsize
Replies: 12
Views: 16250

Re: Textsize

Try

Code: Select all

DC_GraQueryTextBox(cText,cFont)
by Tom
Wed Feb 27, 2013 3:30 am
Forum: eXpress++ Support
Topic: Active get of getlist
Replies: 7
Views: 10037

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: 26005

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: 15841

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: 15841

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: 15841

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: 15841

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} )}...