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
Active get of getlist
Re: Active get of getlist
Try DC_GetEditActive()
The eXpress train is coming - and it has more cars.
Re: Active get of getlist
Hello Roger,
I get always NIL back. Can I go throug the getlist array do determine the active get ?
regards
Rudolf
I get always NIL back. Can I go throug the getlist array do determine the active get ?
regards
Rudolf
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 catch xbeP_SetInputFocus there.
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."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Re: Active get of getlist
DC_EditControlLastFocus() should do it. I made a mistake.
The eXpress train is coming - and it has more cars.
Re: Active get of getlist
Hello,
non of the eXprss++ functions is working, I made like Tom suggested a solution with gotfocus to save the last getobject.
regards
Rudolf
non of the eXprss++ functions is working, I made like Tom suggested a solution with gotfocus to save the last getobject.
regards
Rudolf
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Active get of getlist
I Use DC_EditcontrollastFocus() without problems, need to pass the getlist array.
Re: Active get of getlist
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
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