Search found 1172 matches

by Tom
Thu Apr 14, 2011 10:38 am
Forum: eXpress++ Support
Topic: PRINT TO MULTIPLE PRINTERS SIMULTANEOUSLY
Replies: 4
Views: 9411

Re: PRINT TO MULTIPLE PRINTERS SIMULTANEOUSLY

Code: Select all

DCPRINT ON ... NAME <cMyPrinterName>

... print

DCPRINT OFF
by Tom
Thu Apr 07, 2011 2:19 am
Forum: eXpress++ Support
Topic: Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO
Replies: 19
Views: 25930

Re: Error WINDOWHEIG WindowWidth DCGETOPTIONS 880 710 NOMAXBUTTO

Hi, Nolberto. You don't have a problem with the size settings, but there is a lost workarea reference (alias) inside the to-be-resized-dialog. Refreshing the dialog (after resize) rereads the values of the dialog elements. And at least one of those points to a workarea which is not available anymore...
by Tom
Thu Apr 07, 2011 2:12 am
Forum: eXpress++ Support
Topic: Static with no border
Replies: 3
Views: 7845

Re: Static with no border

Hi, Jack. An empty static of the type XBPSTATIC_TYPE_TEXT - or just simply "DCSAY", which is almost the same - is a good invisible parent for lots of situations. If you have a combo box and don't want your (automatically sized, using DCREAD ... FIT) dialog to show an empty area below the combo, just...
by Tom
Wed Apr 06, 2011 9:03 am
Forum: eXpress++ Support
Topic: cueBanner / showBalloon
Replies: 12
Views: 18931

Re: cueBanner / showBalloon

When you refer to your sample, I assume you mean this?
Yeah. 8-)
by Tom
Wed Apr 06, 2011 8:58 am
Forum: eXpress++ Support
Topic: cueBanner / showBalloon
Replies: 12
Views: 18931

Re: cueBanner / showBalloon

This is from your code. Win XP (other sample was on 7), visual styles enabled, theme enabled. Second get has focus:
by Tom
Wed Apr 06, 2011 8:46 am
Forum: eXpress++ Support
Topic: cueBanner / showBalloon
Replies: 12
Views: 18931

Re: cueBanner / showBalloon

This is from my sample code (1st get has focus, so no banner is shown):
by Tom
Wed Apr 06, 2011 8:13 am
Forum: eXpress++ Support
Topic: cueBanner / showBalloon
Replies: 12
Views: 18931

Re: cueBanner / showBalloon

CueBanner only works if the fields/vars are really empty. This will show a cuebanner: cMyVar1 := "" cMyVar2 := "" @ 1,1 DCSAY 'Test:' GET cMyVar1 GETSIZE 30 GETEVAL {|o|o:CueBanner := 'Enter Text'} @ 2,1 DCSAY 'Test:' GET cMyVar2 GETSIZE 30 GETEVAL {|o|o:CueBanner := 'Enter Text'} DCREAD GUI ADDBUTT...
by Tom
Mon Apr 04, 2011 1:25 pm
Forum: Xbase++ Support
Topic: debug issue
Replies: 15
Views: 25373

Re: debug issue

what's the problem with public variables? Advantages: 1. PUBLICs are visible everywhere, even in different threads. 2. PUBLICs can be initialized in a function, they get visible "above". 3. PUBLICs can be stored to/restored from a XPF-file (as PRIVATEs). 4. PUBLICs can be changed everywhere, change...
by Tom
Mon Apr 04, 2011 9:11 am
Forum: Xbase++ Support
Topic: debug issue
Replies: 15
Views: 25373

Re: debug issue

Hi, Bruce.

Move all accesses/assignments to the var(s) to a get/set-function which sets the value or returns it. Place your debug code there (use DC_CallStack). Do you work with XPF-files and "RESTORE FROM" / "SAVE TO"? Maybe you restore the value there.
by Tom
Fri Apr 01, 2011 6:22 am
Forum: eXpress++ Support
Topic: Tool tips
Replies: 10
Views: 17269

Re: Tool tips

Hi, Fred. The errors you get may have something to do with the fact that the tooltip system runs in a different thread. You don't have access to your workareas there! It's quite hard to display tool tips depending on data in a workarea. Your gets need to set values in get/set-functions or even publi...