RE: IDE Win32lib bug

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi, Judith,
Thank you for your email. I attach two very simple .PRJ files (TB.PRJ
and TB1.PRJ) created with the latest version of the IDE and their
accompanying .EXW files. First of them is newly created project, the
second one is the result of my attempt to edit a button after re-opening
the
project (just try to click any of three buttons in the TB.PRJ). Clicking
any of the three buttons on the toolbar causes seeming disappearing of
all of them.
However,  comparing  TB.EXW  and TB1.EXW codes  I realized that
the buttons actually do not disappear, but their vertical size become
zero. This makes impossible to resize the button again inside the IDE.

Another problem is resizing the toolbar itself with the mouse. As far as
I
understand, this operation is legal in Win32lib (I can change the
toolbar
sizes many times in the attribute "create(...", ), however, my attempt
to
resize the toolbar inside the IDE causes a crash of the program.

Sincerely,
Victor

Judith wrote:

> Hi, Victor,
>
> I replied to this message to the Topica List. Please send me
your PRJ
> file so I can see what is happening. I can not duplicate the
bug in the
> version I am now about ready to release. Since you might not
be getting
> e-mail Topica list messages, here is my e-mail address:
> camping at txcyber.com
>
> Thanks
> Judith
>
> Victor Churikov wrote:
> > Hi, everybody!
> > Working with the famous IDE for Win32lib by Judith Evans I
encounter a
> > very strange bug.
> > Whenever I try to edit toolbar buttons from an earlier
saved project
> > (anyfile.prj), all the buttons  in the toolbar (with all
the code
> > previously written) disappear at once. It doesn't happen
while working
> > with a new project, but after re-opening the file this bug
arises.
> >
> > Have anyone ever had this problem before? What's wrong? I
would like to
> > make sure that this is not just a problem with my
computer.
> >
> > Thank you very much!!
> >
> > Victor Churikov
> >

#Version 0.10.3
#Counter: 5
#WinCounter: 1
#Window 1
#Control: Window1
Title   : Window1
Class   : Window
X       : 0
Y       : 0
CX      : 400
CY      : 300
Enabled : 0
Checked : 0
Parent  :
PClass  :
Active  : 0
Visible : 1
Upper   : 0
Lower   : 0
ReadOnly: 0
Pswd    : 0
Limit   : 0
BkColor : 12632256
EnableC : 1
Numeric : 0
Multline: 0
Hscrolls: 0
Vscrolls: 0
Buddy   :
IcoFile :
BitmapFile :
Style   : 0
TypStyle:

#Control: ToolBar2
Title   :
Class   : ToolBar
X       : 0
Y       : 0
CX      : 400
CY      : 34
Enabled : 0
Checked : 0
Parent  :
PClass  :
Active  : 1
Visible : 1
Upper   : 0
Lower   : 0
ReadOnly: 0
Pswd    : 0
Limit   : 0
BkColor : 0
EnableC : 1
Numeric : 0
Multline: 0
Hscrolls: 0
Vscrolls: 0
Buddy   :
IcoFile :
BitmapFile :
Style   :
TypStyle:

#Control: PushButton3
Title   : 1
Class   : PushButton
X       : 0
Y       : 0
CX      : 32
CY      : 0
Enabled : 0
Checked : 0
Parent  : ToolBar2
PClass  : ToolBar
Active  : 1
Visible : 1
Upper   : 0
Lower   : 0
ReadOnly: 0
Pswd    : 0
Limit   : 0
BkColor : 0
EnableC : 1
Numeric : 0
Multline: 0
Hscrolls: 0
Vscrolls: 0
Buddy   :
IcoFile :
BitmapFile :
Style   :
TypStyle:

#Control: PushButton4
Title   : 2
Class   : PushButton
X       : 32
Y       : 0
CX      : 32
CY      : 0
Enabled : 0
Checked : 0
Parent  : ToolBar2
PClass  : ToolBar
Active  : 1
Visible : 1
Upper   : 0
Lower   : 0
ReadOnly: 0
Pswd    : 0
Limit   : 0
BkColor : 0
EnableC : 1
Numeric : 0
Multline: 0
Hscrolls: 0
Vscrolls: 0
Buddy   :
IcoFile :
BitmapFile :
Style   :
TypStyle:

#Control: PushButton5
Title   : 3
Class   : ToggleButton
X       : 64
Y       : 0
CX      : 32
CY      : 0
Enabled : 0
Checked : 0
Parent  : ToolBar2
PClass  : ToolBar
Active  : 1
Visible : 1
Upper   : 0
Lower   : 0
ReadOnly: 0
Pswd    : 0
Limit   : 0
BkColor : 0
EnableC : 1
Numeric : 0
Multline: 0
Hscrolls: 0
Vscrolls: 0
Buddy   :
IcoFile :
BitmapFile :
Style   :
TypStyle:





#Version 0.10.3
#Counter: 5
#WinCounter: 1
#Window 1
#Control: Window1
Title   : Window1
Class   : Window
X       : 0
Y       : 0
CX      : 400
CY      : 300
Enabled : 0
Checked : 0
Parent  :
PClass  :
Active  : 0
Visible : 1
Upper   : 0
Lower   : 0
ReadOnly: 0
Pswd    : 0
Limit   : 0
BkColor : 12632256
EnableC : 1
Numeric : 0
Multline: 0
Hscrolls: 0
Vscrolls: 0
Buddy   :
IcoFile :
BitmapFile :
Style   : 0
TypStyle:

#Control: ToolBar2
Title   :
Class   : ToolBar
X       : 0
Y       : 0
CX      : 400
CY      : 34
Enabled : 0
Checked : 0
Parent  :
PClass  :
Active  : 1
Visible : 1
Upper   : 0
Lower   : 0
ReadOnly: 0
Pswd    : 0
Limit   : 0
BkColor : 0
EnableC : 1
Numeric : 0
Multline: 0
Hscrolls: 0
Vscrolls: 0
Buddy   :
IcoFile :
BitmapFile :
Style   :
TypStyle:

#Control: PushButton3
Title   : 1
Class   : PushButton
X       : 0
Y       : 0
CX      : 32
CY      : 32
Enabled : 0
Checked : 0
Parent  : ToolBar2
PClass  : ToolBar
Active  : 1
Visible : 1
Upper   : 0
Lower   : 0
ReadOnly: 0
Pswd    : 0
Limit   : 0
BkColor : 0
EnableC : 1
Numeric : 0
Multline: 0
Hscrolls: 0
Vscrolls: 0
Buddy   :
IcoFile :
BitmapFile :
Style   :
TypStyle:

#Control: PushButton4
Title   : 2
Class   : PushButton
X       : 32
Y       : 0
CX      : 32
CY      : 32
Enabled : 0
Checked : 0
Parent  : ToolBar2
PClass  : ToolBar
Active  : 1
Visible : 1
Upper   : 0
Lower   : 0
ReadOnly: 0
Pswd    : 0
Limit   : 0
BkColor : 0
EnableC : 1
Numeric : 0
Multline: 0
Hscrolls: 0
Vscrolls: 0
Buddy   :
IcoFile :
BitmapFile :
Style   :
TypStyle:

#Control: PushButton5
Title   : 3
Class   : ToggleButton
X       : 64
Y       : 0
CX      : 32
CY      : 32
Enabled : 0
Checked : 0
Parent  : ToolBar2
PClass  : ToolBar
Active  : 1
Visible : 1
Upper   : 0
Lower   : 0
ReadOnly: 0
Pswd    : 0
Limit   : 0
BkColor : 0
EnableC : 1
Numeric : 0
Multline: 0
Hscrolls: 0
Vscrolls: 0
Buddy   :
IcoFile :
BitmapFile :
Style   :
TypStyle:

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu