Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Weird CEForm, FormDesigner bug? [CE bug]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Wed Jan 08, 2014 12:35 pm    Post subject: Weird CEForm, FormDesigner bug? [CE bug] Reply with quote

This form initially was created by faizangmc (game "Cricket Captain 2013"). After many FormDesigner operations, he can not upload his CT.

I used his form in my own project. This an empty Form, without any controls, with small icon only.
CT file is still over 2MB.

Probably there are leftovers from previous icons or CEImage bitmaps. I don't know. Maybe it is FormDesigner bug.
https://drive.google.com/uc?export=download&id=0BwMAnE6mjogMUWJZZGdNRUNZc2M

_________________
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25821
Location: The netherlands

PostPosted: Wed Jan 08, 2014 1:49 pm    Post subject: Reply with quote

fixed in the svn
Just open the table, edit the form and close the designer. Then save the table and all useless garbage should be gone

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Wed Jan 08, 2014 3:13 pm    Post subject: Reply with quote

Thank you.

Small request, if you will. Advanced anchoring inside FormDesigner.
I figured out I can use anchoring with Lua. Should be easier with FormDesigner than with Lua:

Code:
label1.Caption = 'very very long caption'
label1.Anchors = '[akRight, akBottom]'

label2.Caption = 'short caption'
label2.BorderSpacing.Top = 2
label2.AnchorSideLeft.Control = label1  -- set sibling
label2.AnchorSideLeft.Side    = 'asrCenter'
label2.AnchorSideTop.Control = label1
label2.AnchorSideTop.Side    = 'asrBottom'

-- AnchorSideTop asrTop
--  Anchor top side to top side of sibling. Use BorderSpacing to set a distance.
--  BorderSpacing of sibling is ignored.

-- AnchorSideTop asrBottom
--  Anchor top side to bottom side of sibling. The kept distance is defined
--  by both BorderSpacing properties of this and sibling.

-- AnchorSideTop AnchorSideBottom asrCenter
--  Center control vertically relative to the given sibling.
--  BorderSpacing is ignored.

-- AnchorSideBottom asrTop
--  Anchor bottom side to top side of sibling. The kept distance is defined
--  by both BorderSpacing properties of this and sibling.

-- AnchorSideBottom asrBottom
--  Anchor bottom side to bottom side of sibling. Use BorderSpacing to set
--  a distance. BorderSpacing of sibling is ignored.

-- AnchorSideLeft asrTop
--  Anchor left side to left side of sibling. Use BorderSpacing to set
--  a distance. BorderSpacing of sibling is ignored.

-- AnchorSideLeft asrBottom
--  Anchor left side to right side of sibling. The kept distance is defined
--  by both BorderSpacing properties of this and sibling.

-- AnchorSideLeft AnchorSideRight asrCenter
--  Center control horizontally relative to the given sibling.
--  BorderSpacing is ignored.

-- AnchorSideRight asrTop
--  Anchor right side to left side of sibling. The kept distance is defined
--  by both BorderSpacing properties of this and sibling.

-- AnchorSideRight asrBottom
--  Anchor right side to right side of sibling. Use BorderSpacing to set
--  a distance. BorderSpacing of sibling is ignored.

-- * "The kept distance is defined by both BorderSpacing properties of this and sibling"
-- for example for AnchorSideTop asrBottom
-- spacing = max(this.BorderSpacing.Top, sibling.BorderSpacing.Bottom)




I think I found another "bug".
It happens when we have two or more controls with the same name. I found this after I selected few controls from UDF1, copied them to clipboard, and pasted to UDF2.

If we somehow save CT file, CEForm with two or more controls which have the same name, we are doomed (we have to design CEForm from the beginning).

_________________
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites