Kbase 15191: V8 - How to apply entry ( focus ) to SmartObject at startup
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
V8 - How to apply entry ( focus ) to SmartObject at startup
If you have multiple SmartObjects in a container and you want to put
focus on a particular one of them at startup of the program, you can
use the Dispatch Method Procedure along with apply-entry. The syntax
is:
RUN dispatch IN <target-handle> ("apply-entry").
For example, in a SmartWindow container, if you want to put focus on a
SmartBrowse called b-ucust2, you should know that the handle for this
object is h_ucust2. This name is generated by UIB. Then the following
code should be placed at the end of the MainBlock in the container
SmartWindow:
RUN dispatch IN h_b-ucust2 ("apply-entry").
Progress Software Technical Support Note # 15191