nKeyboKeyboard type from the historical guide.
AdvPL GuideKeyboard(nKeybo,oObj)Displays an on-screen keyboard in historical eADVPL.
Guide section 12.1 takes a keyboard type and target GET object. Its appendix identifies alphanumeric, numeric and symbol keyboards. Do not confuse this with simulated-keystroke commands in other languages. This subset neither confirms availability in current SmartClient nor assumes constant numeric values. (Sources: refs. 1–1.)
Keyboard(nKeybo,oObj)nKeyboKeyboard type from the historical guide.
oObjExisting target GET.
Entered string according to the historical guide.
#Include "Protheus.ch"
User Function Ed502()
// Type and GET must come from a validated historical runtime.
Local bKeyboard := {|nType,oGet| Keyboard(nType,oGet)}
ConOut(ValType(bKeyboard))
Return NilPrepares the block without opening a keyboard. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.