Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

Frame Find similar branches


Eduard   (2001-12-10 10:09) [0]

Good day!
I have such a question. When you select one of the tabs in PageControl in the program, the following happens: it resizes, and a frame is inserted in a certain place of the main form. In this case, the form for a moment disappears from the screen, i.e. apparently redrawn. How to avoid this, in the sense of how to prevent the form from being redrawn during the frame insertion so that everything is beautiful?



Eduard   (2001-12-10 11:40) [1]

Hey !!!



Tonie   (2001-12-10 12:56) [2]

1. As you insert, a little code would not hurt ...
2. Can help you Lockwindowupdate



Eduard   (2001-12-10 13:37) [3]

Some kind of chop is obtained.

LockWindowUpdate (Form1.Handle); Width: = 970; Position: = poScreenCenter; ActiveFrame: = TToners.Create (Self); ActiveFrame.Parent: = Form1; ActiveFrame.Visible: = True; ActiveFrame.Left: = PageControl1.Width + 1; ActiveFrame.Top: = Height - PageControl1.Height - StatusBar1.Height -1; LockWindowUpdate (Form1.handle);

where TToners = class (TFrame)

In short, the LockWindowUpdate procedure is even worse. The frame does not appear at all until you try to move the form.



Eduard   (2001-12-10 18:04) [4]

Help, damn it !!!!



NA   (2001-12-10 18:33) [5]

In general, this will not help you much, perhaps, but nevertheless, first deal with the size and position of the component, and then make it visible. Those. first LEFT \ TOP, and only after that VISIBLE.

It will be more careful;)



akaKot   (2001-12-18 20:30) [6]

Try this:

... tusBar1.Height -1;
LockWindowUpdate (0);



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top





Memory: 0.56 MB
Time: 0.023 c
3:21948
andre_polt
2001-12-04 16:22
2002.01.08
DB


4:22496
Wic
2001-10-29 18:54
2002.01.08
How do I know that the connection is established?


3:21903
Victor Tsay
2001-11-29 10:02
2002.01.08
Replication


1:22214
T2
2001-12-16 07:15
2002.01.08
BMP 2 RichEdit


1:22211
uuuu
2001-12-13 22:46
2002.01.08
Good evening, day, morning. People help !!! how to dial a number, switch to tone mode, and enter a random code *





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish