[lazarus] CVS Update

Shane Miller SMiller1 at stvgb.org
Fri Apr 23 15:50:34 EDT 1999


OK, the latest source is there.  The changes today include the addition of a spinedit control, and buttons can have their label's changed dynamically simply by setting their button#.caption property.

I noticed a problem when I call the function gtk_widget_set_usize.  It doesn't work.

It seems to work the first time that they are both > 0 but after that they don't seem to do anything.

I'm going to look at it again, but take a look at TControl.resize.  It's called each time the height, left, top, or width are adjusted for a TControl.  If you change the button's width and height in the MAIN.PP file, you'll notice that they never get bigger/smaller than their original size, yet you CAN move them by changing the left and top.

Interesting.  If you notice the same thing, please let me know because I am not sure if it is me or the function messing up.

Thanks
Shane


--  hmmm...still thinking of something cute to say --






More information about the Lazarus mailing list