Controls
ID #1057
How to know the equate name of the control at run-time?
- You may use undocumented procedure:
ClaFieldName(LONG),NAME('Cla$FieldName'),CSTRING,PROC
- As mention above function is undocumented you may use legally user template (EXTENSION) that generates queue like:
ControlNameQueue QUEUE Feq UNSIGNED Name STRING(100) ! or ASTRING END Run though all control and generate code for its fill: #FOR(%Control) #IF(%Control) ControlNameQueue.Feq = %Control ControlNameQueue.Name = '%Control' ADD(ControlNameQueue) #ENDIF #ENDFOR SORT(ControlNameQueue, ControlNameQueue.Feq) After that equate name of control will be exctacted easy.
Related entries:
- What is the error "Internal error 1: WSLDIAL"?
- How to run application that will not be displayed in task bar?
- How it is possible to receive information about Prompt text from dictionary?
- How to call WinAPI functions from Clarion applications?
- How to know in which control mouse cursor is (before ACCEPT)?
Last update: 2007-10-18 16:18
Author: Valentin Babaev
Revision: 1.12
You can comment on this entry