Edgard
8-Jan-2019, 06:23 AM
Hi,
Happy New Year to everybody:D
If in the Studio: Deferred Object = True return value of the command: Object_Label is all in uppercase:
Deferred_View Activate_oMyName for ;
Object oMyName is a dbView
Set Border_Style to Border_Thick
Set Size to 200 300
Set Location to 2 2
Set Label to "MyName"
Procedure Activating
String sName
Forward Send Activating
Get Object_Label of oMyName to sName
Send Stop_Box sName "The short name is:"
End_Procedure
Cd_End_Object
12483
(The above is documented in Help, but without the Deferred_View syntax)
If Deferred Object = False the return value is as typed.
Activate_View Activate_oMyName for oMyName
Object oMyName is a dbView
Set Border_Style to Border_Thick
Set Size to 200 300
Set Location to 2 2
Set Label to "MyName"
Procedure Activating
String sName
Forward Send Activating
Get Object_Label of oMyName to sName
Send Stop_Box sName "The short name is:"
End_Procedure
End_Object
12484
This also happens in 19.0.
From my point of view the return should be the same regardless of the Deffered Object condition, or tell the difference in the help.
Best Regards,
Happy New Year to everybody:D
If in the Studio: Deferred Object = True return value of the command: Object_Label is all in uppercase:
Deferred_View Activate_oMyName for ;
Object oMyName is a dbView
Set Border_Style to Border_Thick
Set Size to 200 300
Set Location to 2 2
Set Label to "MyName"
Procedure Activating
String sName
Forward Send Activating
Get Object_Label of oMyName to sName
Send Stop_Box sName "The short name is:"
End_Procedure
Cd_End_Object
12483
(The above is documented in Help, but without the Deferred_View syntax)
If Deferred Object = False the return value is as typed.
Activate_View Activate_oMyName for oMyName
Object oMyName is a dbView
Set Border_Style to Border_Thick
Set Size to 200 300
Set Location to 2 2
Set Label to "MyName"
Procedure Activating
String sName
Forward Send Activating
Get Object_Label of oMyName to sName
Send Stop_Box sName "The short name is:"
End_Procedure
End_Object
12484
This also happens in 19.0.
From my point of view the return should be the same regardless of the Deffered Object condition, or tell the difference in the help.
Best Regards,