Active get of getlist

This forum is for eXpress++ general support.
Post Reply
Message
Author
c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Active get of getlist

#1 Post by c-tec »

Hello,
how can I get the actual active get of a getlist ? with dc_getactive() I get always NIL. Or is there another way to check the getlist for the active get ?
regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Active get of getlist

#2 Post by rdonnay »

Try DC_GetEditActive()
The eXpress train is coming - and it has more cars.

c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: Active get of getlist

#3 Post by c-tec »

Hello Roger,
I get always NIL back. Can I go throug the getlist array do determine the active get ?
regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

User avatar
Tom
Posts: 1234
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: Active get of getlist

#4 Post by Tom »

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 catch xbeP_SetInputFocus there.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Active get of getlist

#5 Post by rdonnay »

DC_EditControlLastFocus() should do it. I made a mistake.
The eXpress train is coming - and it has more cars.

c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: Active get of getlist

#6 Post by c-tec »

Hello,
non of the eXprss++ functions is working, I made like Tom suggested a solution with gotfocus to save the last getobject.

regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: Active get of getlist

#7 Post by Cliff Wiernik »

I Use DC_EditcontrollastFocus() without problems, need to pass the getlist array.

c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: Active get of getlist

#8 Post by c-tec »

Hello,
its strange that none of all the eXpress++ functions is working. But with gotfocus I can handle it much better, so the problem for me is solved.
regards
Rudolf
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

Post Reply