Search found 280 matches

by BruceN
Fri Jun 25, 2010 10:40 am
Forum: Xbase++ Support
Topic: Detecting disksize
Replies: 9
Views: 25039

Re: Detecting disksize

@10.5, 18 dcsay 'Size '
@10.5, 36 dcsay transform(disktotal(CurDrive()),"999,999,999,999,999" )
@10.5, 65 dcsay 'Free '
@10.5, 76 dcsay transform(diskfree(CurDrive()),"999,999,999,999,999" )

I use this to show size and amt free

Hope it helps.....
by BruceN
Fri Jun 25, 2010 6:43 am
Forum: Xbase++ Support
Topic: XppNat,dll question
Replies: 0
Views: 5491

XppNat,dll question

When doing testing I frequently delete the whole install and re-install program/data fresh. If I try deleting after running the program I cannot delete the xppnat.dll. Apparently the OS thinks it's still being used. I have to reboot in order to free it up. Any idea why? Any idea how to change that? ...
by BruceN
Fri Jun 25, 2010 3:42 am
Forum: eXpress++ Support
Topic: Picture in dcbrowseol
Replies: 14
Views: 24493

Re: Picture in dcbrowseol

I don't have cVar in my actual code; what is actually passed is editArray[nchoice,16], but I replaced it in the sample with cVar because it was easier to type :) and irrelevant as long as the value being passed was correct (and it is). I have tried the suggestions and a few other things I could thin...
by BruceN
Thu Jun 24, 2010 11:23 am
Forum: eXpress++ Support
Topic: Picture in dcbrowseol
Replies: 14
Views: 24493

Re: Picture in dcbrowseol

cVar is the item type that gets sent to the function to determine if it should be decimal or not.
by BruceN
Thu Jun 24, 2010 6:13 am
Forum: eXpress++ Support
Topic: Picture in dcbrowseol
Replies: 14
Views: 24493

Re: Picture in dcbrowseol

Can you provide me an example of what you mean by detached code block?
by BruceN
Thu Jun 24, 2010 5:00 am
Forum: eXpress++ Support
Topic: Picture in dcbrowseol
Replies: 14
Views: 24493

Re: Picture in dcbrowseol

I had already tried a codeblock as follows: DCBROWSECOL ELEMENT 6 HEADER "Qty" PARENT oBrowse; ID 'FIRST'; EDITOR 'IQTY'; PICTURE{||iif(svc_test(cVar]),'99999.99','99999')}; WIDTH 8 @ nil, nil dcget xNil GETID 'IQTY'; PICTURE{||iif(svc_test(cVar]),'99999.99','99999')}; lostfocus {|a,b,oGet|iif(oget:...
by BruceN
Wed Jun 23, 2010 3:41 pm
Forum: eXpress++ Support
Topic: Picture in dcbrowseol
Replies: 14
Views: 24493

Re: Picture in dcbrowseol

Roger, I don't think you understood what I'm trying to do. I need to have some cells with 99999.99 and some with just 99999 based on the value of another field in the browse which determines whether the item is supposed to be an integer or a decimal, so I need the picture to evaluate the value of th...
by BruceN
Wed Jun 23, 2010 9:41 am
Forum: eXpress++ Support
Topic: Picture in dcbrowseol
Replies: 14
Views: 24493

Picture in dcbrowseol

Is there a way to have a different picture clause for cells in a single column in a dcbrowse? We have a numeric field that sometimes needs to have decimals and other times needs to be integral in both view and edit. Thanks.
by BruceN
Mon Jun 14, 2010 12:02 pm
Forum: eXpress++ Support
Topic: DCSAY / GET question
Replies: 8
Views: 15605

Re: DCSAY / GET question

And I DEFINATELY qualify as the progamming equivilent of a blind squirrel.

If you took everythnig I know about programming and shove it up a gnat's ass it would rattle around like a pea in a boxcar!

b
by BruceN
Sun Jun 13, 2010 5:09 am
Forum: eXpress++ Support
Topic: DCSAY / GET question
Replies: 8
Views: 15605

Re: DCSAY / GET question

OK.. now I feel real good. It wasn't some stupid thing I was doing, and I found an 'oversight' in your library. Gee, I may have actually contributed something that will help others!