paValue - DFBaseTextEdit
Sets content of control from memory address or places text in control into memory address
Type: Property
Access: Read/Write
Data Type: Address
Parameters: None
Syntax
Property Address paValue
| Access Type | Syntax |
|---|---|
| Read Access: | Get paValue to AddressVariable |
| Write Access: | Set paValue to AddressVariable/Value |
Description
Sets content of a control from memory address or places text in control into memory address.
Sample
This sample sets the contents of control oTextEdit1 to the text contained in string variable sText.
Procedure GetControlContents
Address aMyAddress
String sText
Move "Some text" to sText
Move (AddressOf(sText)) to aMyAddress
Set paValue of oTextEdit1 to aMyAddress
End_Procedure
Sample
This sample moves the contents of control oTextEdit1 into the memory address in address variable aMyAddress.
Procedure SetControlContents
Address aMyAddress
String sText
Get paValue of oTextEdit1 to aMyAddress
Move aMyAddress to sText
End_Procedure