-Page:NewUpdateMechanism
form literals before the update macro is called:
literals: %=literals=%
(should be set the after you post the form)
webdropdown1 properties before the update macro is called:
value: %=webdropdown1.value=%
text: %=webdropdown1.text=%
updating...
%=webdropdown1.update=%
(will update the component and remove the literal)
form literals after the update macro is called:
literals: %=literals=%
(should be clear here after you posted the form)
webdropdown1 properties after the update macro was called:
value: %=webdropdown1.value=%
text: %=webdropdown1.text=%
here's the dropdown:
here's the component we used to make this demo:
object WebDropDown1: TWebDropDown
tpOptions = [tpUpdateOnLoad, tpUpdateOnGet, tpStatusPanel]
StatusBar = tpStatusBar1
WebIni = fmhtWebApp.WebIniLink
WebApp = fmhtWebApp.WebApp
DirectCallOk = False
List.Strings = (
'1=one'
'2=two'
'3=three'
'4=four')
DefaultValue = ddBlank
Left = 16
Top = 64
end