nBmpEnvironment bitmap identifier.
AdvPL GuideSET BITMAP nBmp TO oObjAssociates a bitmap with a historical control.
Historical eAdvPL reference, section 3.22. Syntax depends on that implementation’s macros and platform; current SmartClient support is unconfirmed. nBmp identifies an image resource; oObj must support it. The guide does not define file loading through this call. Resource numbers are neither paths nor universal across platforms. The caller supplies the identifier, avoiding an invented resource number. (Sources: refs. 1–1.)
SET BITMAP nBmp TO oObjnBmpEnvironment bitmap identifier.
oObjTarget control.
No useful return documented in this subset.
// Fragment: verified resource and existing control.
SET BITMAP nBmp TO oObjProposes associating a resource with a control without reading an arbitrary file. 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.