IDE bug report - losing bitmap on TBtnBmp button
Publicado: Lun Sep 18, 2006 8:26 am
Hi Jose,
I have a button on the form, the oBitmaps property is set to a BMP file. The form works
well, the bitmap is on the button. I close Xailer. Reopen Xailer with the same project,
display the form and the bitmap is lost, the button is clear, but the source code contains
the information about bitmaps:
From XFM file :
WITH OBJECT ::oUpArrow := TBtnBmp():New( Self )
:SetBounds( 800, 132, 32, 32 )
:cBalloon := "Posunie vybranú polo¾ku nahor"
:nTooltipIcon := tiINFO
:lEnabled := .F.
:oBitmaps := "Uparrow2.bmp"
:OnClick := "UpArrowClick"
:Create()
END
WITH OBJECT ::oDownArrow := TBtnBmp():New( Self )
:SetBounds( 800, 200, 32, 32 )
:cBalloon := "Posunie vybranú polo¾ku nadol"
:nTooltipIcon := tiINFO
:lEnabled := .F.
:oBitmaps := "downarrow.bmp"
:OnClick := "DownArrowClick"
:Create()
END
In this moment, when I change the form, after saving changes, the bitmap setting is
missing from the code:
WITH OBJECT ::oUpArrow := TBtnBmp():New( Self )
:SetBounds( 800, 132, 32, 32 )
:cBalloon := "Posunie vybranú polo¾ku nahor"
:nTooltipIcon := tiINFO
:lEnabled := .F.
:OnClick := "UpArrowClick"
:Create()
END
WITH OBJECT ::oDownArrow := TBtnBmp():New( Self )
:SetBounds( 800, 200, 32, 32 )
:cBalloon := "Posunie vybranú polo¾ku nadol"
:nTooltipIcon := tiINFO
:lEnabled := .F.
:OnClick := "DownArrowClick"
:Create()
END
Please fix this bug.
Gejza Horvath
Slovakia
I have a button on the form, the oBitmaps property is set to a BMP file. The form works
well, the bitmap is on the button. I close Xailer. Reopen Xailer with the same project,
display the form and the bitmap is lost, the button is clear, but the source code contains
the information about bitmaps:
From XFM file :
WITH OBJECT ::oUpArrow := TBtnBmp():New( Self )
:SetBounds( 800, 132, 32, 32 )
:cBalloon := "Posunie vybranú polo¾ku nahor"
:nTooltipIcon := tiINFO
:lEnabled := .F.
:oBitmaps := "Uparrow2.bmp"
:OnClick := "UpArrowClick"
:Create()
END
WITH OBJECT ::oDownArrow := TBtnBmp():New( Self )
:SetBounds( 800, 200, 32, 32 )
:cBalloon := "Posunie vybranú polo¾ku nadol"
:nTooltipIcon := tiINFO
:lEnabled := .F.
:oBitmaps := "downarrow.bmp"
:OnClick := "DownArrowClick"
:Create()
END
In this moment, when I change the form, after saving changes, the bitmap setting is
missing from the code:
WITH OBJECT ::oUpArrow := TBtnBmp():New( Self )
:SetBounds( 800, 132, 32, 32 )
:cBalloon := "Posunie vybranú polo¾ku nahor"
:nTooltipIcon := tiINFO
:lEnabled := .F.
:OnClick := "UpArrowClick"
:Create()
END
WITH OBJECT ::oDownArrow := TBtnBmp():New( Self )
:SetBounds( 800, 200, 32, 32 )
:cBalloon := "Posunie vybranú polo¾ku nadol"
:nTooltipIcon := tiINFO
:lEnabled := .F.
:OnClick := "DownArrowClick"
:Create()
END
Please fix this bug.
Gejza Horvath
Slovakia