View Single Post
  #1  
Old 11-18-2005, 03:22 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Resolved: GuiTextEditCtrl and useownprofile

I'm assuming I did this right..

When you use 'useownprofile = true' in a GuiTextEditCtrl, the image disappears. It can't be set back to it's original image with the 'bitmap' variable.

HTML Code:
new GuiWindowCtrl(GSAdd) {
  width = 160;
  height = 160;
  x = (screenwidth - width) / 2;
  y = (screenheight - height) / 2;
  canMinimize = canMaximize = canResize = false;
  new GuiTextEditCtrl(GSAddAccount) {
    x = 8;
    y = 24 + 16;
    width = GSAdd.width - (8+8);
    height = 22;
    useownprofile = true;
    profile.bitmap = "defaulttextedit.png";
    profile.align = "center";
  }
}

And a screenshot of the problem.
Attached Thumbnails
Click image for larger version

Name:	buggytextedit.png
Views:	154
Size:	77.0 KB
ID:	34315  
Reply With Quote