NetTalk Central
NetTalk Web Server => Web Server - Share Knowledge => Topic started by: John Hickey on June 17, 2007, 02:25:33 PM
-
Question from Greg Bailey on the newsgroups:
I need to be able to change the text on an insert change or delete button at the procedure level (not globally). The end user wants text specific to a particular browse on the buttons. Is this possible?
Answer from Wolfgang Orth:
yes:
at the Generate Form - StartEmbed
p_web.site.InsertButton.TextValue = 'New'
p_web.site.DeleteButton.TextValue = 'Dump it!'
p_web.site.SaveButton.TextValue = 'Store Date'
-
Here are some other things you can change besides the name -
Name String(40)
TextValue String(40)
Image String(256)
ImageW Long
ImageH Long
ImageAlt String(40)
Class String(40)
Tooltip String(256)
All of these are prefaced with p_web.site.buittonname.
Here is a list of all available buttonnames:
SaveButton
CancelButton
CloseButton
DeletebButton
SelectButton
InsertButton
ChangeButton
ViewButton
LocateButton
FirstButton
PreviousButton
NextButton
LastButton
PrintButton
StartButton
UploadButton
LookupButton
SmallDeleteButton
SmallSelectButton
SmallInsertButton
SmallChangeButton
SmallViewButton
DeletefButton
BrowseCancelButton
BrowseCloseButton
DateLookupButton
SmallOtherButton
HTH,
Chris C