Search found 49 matches

by Maxz
Thu Jan 27, 2022 2:16 pm
Forum: eXpress++ Support
Topic: DCGET and TABPAGES
Replies: 6
Views: 3233

Re: DCGET and TABPAGES

dcsay get .... KEYBLOCK {|n,x,o|IIF(n==xbeK_ENTER,myfunction(GetList),nil) } //LOSTFOCUS {||DC_SetAppFocus(oTabPage1),DC_GetRefresh(GetList),SetAppFocus(oField7)} function myfunction (GetList) DC_SetAppFocus(oTabPage1) DC_GetRefresh(GetList) SetAppFocus( oField7 ) return nil it does not work properl...
by Maxz
Thu Jan 27, 2022 11:50 am
Forum: eXpress++ Support
Topic: DCGET and TABPAGES
Replies: 6
Views: 3233

Re: DCGET and TABPAGES

LOSTFOCUS on GET #6 only works well if you give enter with the keyboard if you try to move in another GET using mouse when you are positioned on GET #6, LOSTFOCUS runs first and wins over your mouse move LOSTFOCUS should check that the user has actually given send with the keyboard is it possible to...
by Maxz
Thu Jan 27, 2022 9:37 am
Forum: eXpress++ Support
Topic: DCGET and TABPAGES
Replies: 6
Views: 3233

DCGET and TABPAGES

screenshot1.jpg looking at this example, how do I continue the GET that is in tabpage1 after giving ENTER key on field 6 ? when I confirm the value in field 6, the DCREAD ends because i use the ENTEREXIT clause on DCREAD GUI ... The other GET of tabpage 1 (7,8,9,etc.) or tabpage 2/3/4 are not consi...
by Maxz
Thu Jan 27, 2022 8:09 am
Forum: eXpress++ Support
Topic: DCBROWSE with custom row editor
Replies: 6
Views: 3756

Re: DCBROWSE with custom row editor

now I'm using a formula that assumes that the height of the header of the browse is equal to that of the row, eg.: aSize:=oBrowse:currentSize() aPos:=oBrowse:currentPos() nColPos := oBrowse:colPos nRowPos := oBrowse:rowPos oFirstColumn := oBrowse:getColumn( 1 ) // #column1 oFirstCell := oFirstColumn...
by Maxz
Tue Jan 18, 2022 2:40 pm
Forum: eXpress++ Support
Topic: DCBROWSE with custom row editor
Replies: 6
Views: 3756

Re: DCBROWSE with custom row editor

img2.jpg aSize:=oBrowse:currentSize() // aSize[1] contain the width of browse (vertical scroll bar included, right ?) nRowPos := oBrowse:rowPos // number of row selected when i double click or press enter in the browse // coordinates of #1 cell of browse oColumn := oBrowse:getColumn( 1 ) oCell := o...
by Maxz
Sun Jan 16, 2022 9:52 am
Forum: eXpress++ Support
Topic: DCBROWSE with custom row editor
Replies: 6
Views: 3756

DCBROWSE with custom row editor

Hi Roger, I need to create a function that opens a rectangle overwriting the row of a selected browse, when i press ENTER o double click, like that: img1.jpg in this way I can manage the record information well without having to use the standard cell editor that you have provided in the dcbrowse for...
by Maxz
Tue Jan 11, 2022 3:06 am
Forum: eXpress++ Support
Topic: DCGET Valid condition
Replies: 3
Views: 2402

Re: DCGET Valid condition

from Express doc: ENTEREXIT will exit the dialog if the ENTER key is pressed. The exact behavior is determined by the DC_EnterExitMode() function. The default behavior is to exit the dialog when the ENTER keys is pressed in the "last GET" . If this option is not used, then pressing the ENTER key in ...
by Maxz
Mon Jan 10, 2022 9:27 am
Forum: eXpress++ Support
Topic: DCGET Valid condition
Replies: 3
Views: 2402

Re: DCGET Valid condition

I've found this statement in Valid clause searching in Xsample1.prg:

VALID {|o| IIF(o:get:changed, Check_Load() ,.T.)}

Seems to work well.
by Maxz
Mon Jan 10, 2022 8:50 am
Forum: eXpress++ Support
Topic: DCGET Valid condition
Replies: 3
Views: 2402

DCGET Valid condition

In a particular GET sequence (typically the 1st) Is it possible to perform a validation only if the content of the variable has been modified? @ DCGET var1 VALID {|| Check_Load() } @ DCGET var2 @ DCGET var3 ... DCREAD GUI function Check_Load LOCAL lRet:=.F. SEEK var1 IF FOUND() load_data() lRet:=.T....