Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #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
  #2  
Old 11-18-2005, 01:31 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
You should first assign the default profile before you try to modify it (profile = GuiTextEditProfile; ). The GuiTextEditCtrl is only drawing a border if profile.border is not zero.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.