Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== BITMAP property ====== ==== Applies To ==== Bitmap, checkbmp, pushbmp, edit table, tab control ==== Description ==== Get_Property returns the path to the picture file; Set_Property sets the path and whether the bitmap should be transparent. ==== Usage ==== //path// = **Get_Property**(//bitmapcontrolname//, "**BITMAP**") //path// = **Set_Property**(//bitmapcontrolname//, "**BITMAP**", //pathtofile [: @vm : bTransparencyFlag]// ) ==== Remarks ==== The BITMAP control supports .BMP, .ICO, .GIF, and .PCX file formats. To display a bitmap stored as a resource in a .DLL or .EXE file, set the BITMAP property to the name of the file, a pound sign (#), and the resource ID. Resources can be referenced by name or by number; for example: <code> Set_Property(CtrlEntID, "BITMAP", "my.dll#17") Set_Property(CtrlEntID, "BITMAP", "my.exe#PrettyPicture") </code> Note: When setting the BITMAP property within an edittable either the SELPOS or ACCESSPOS property must be set prior to the BITMAP Set_Property call. To display a bitmap in an edittable cell, set the SELPOS property and then set the BITMAP property. <code> Set_Property(CtrlEntID,"SELPOS",selpos) Set_Property(CtrlEntID,"BITMAP",bitmap) </code> To display a bitmap in an edittable cell, set the ACCESSPOS property and then set the BITMAP property. <code> Set_Property(CtrlEntID,"ACCESSPOS",3:@fm:1) Set_Property(CtrlEntID,"BITMAP",bitmap) </code> ==== See Also ==== [[image|IMAGE property]] guides/programming/programmers_reference_manual/bitmap.txt Last modified: 2024/06/19 20:20by 127.0.0.1