tform Questions

4

Solved

I want to allow a form to be sized by the user with its controls proportionaly resized. ScaleBy( N,M ) works fine for me but there are of course cumulative rounding errors if it is repeated. To cou...
Bezanson asked 5/1, 2012 at 11:25

1

Solved

I've a follow situation: TMyFormClass = class of TMyForm function IsMyClass(AClass: TFormClass); begin Result := AClass is TMyForm // Operator not applicable to this operand type Result := ACla...
Wilmot asked 11/11, 2019 at 19:19

5

Solved

In my application, I have a main form, with the ability to load some images in database. While images is loading, I want to show a form, with the progress indicator (with bsNone border style). But...
Bravissimo asked 6/7, 2013 at 16:8

1

Solved

I have noticed something very strange. I am persisting the top, left, width, and height properties of a form when it is closing, and using this information to restore the form's last position when ...
Flushing asked 19/8, 2016 at 9:5

2

Solved

If I implement an interface on a form such as TMyForm = class(TForm, IMyInterface), will the object free itself when there are no more interface references to it? It seems not to, although I couldn...
Barbarity asked 4/12, 2013 at 21:47

2

Solved

I have this type of situation (see image), now when I move Splitter1 up in run-time, Panel2 height grows and also Form1 height grows. But I need to know and block this type of event, when Splitter...
Faceoff asked 1/11, 2013 at 22:4

1

Hi I have a form with several frames inside. For some of the frames, i wish to scroll the contents (or at least handle the mousewheel event). I have tried the following: Simply assigning a OnMou...
Allieallied asked 10/11, 2011 at 8:11

1

Solved

I have a TForm object whose height is greater than the required vertical resolution of my screen. For some reason, Windows doesn't allow the visible (client?) area of the form to exceed the screen...
Apiary asked 24/5, 2012 at 15:57

5

Solved

I'm working on something which will require monitoring of many forms. From outside the form, and without putting any code inside the form, I need to somehow capture events from these forms, most li...
Quenby asked 5/1, 2012 at 14:10

2

Solved

is it possible to create and show TForm without having source files for it ? I want to create my forms at runtime and having the empty *.dfm and *.pas files seems to me useless. Thank you
Surgy asked 21/12, 2011 at 19:43

5

Solved

I have created one application in which Main Form Calls Sub Form on FormShow event of Main Form. Sub Form is displayed and gives two options to choose. If First option on sub form is selected then ...
Suffrage asked 17/8, 2011 at 14:52

1

Solved

I have a frame on a form. When I change the frame (add/delete buttons, labels) no changes appear on the form or controls have other positions in the form that in the frame. If to delete the frame f...
Michikomichon asked 4/8, 2011 at 18:50

2

Solved

I would like to have a seperate form that shows "along" with my main form, so it does not overlap the main form. Here's an example: Notice how the main program, overlaps the log? I can't figure ...
Serafina asked 22/3, 2011 at 15:30
1

© 2022 - 2024 — McMap. All rights reserved.