Forum Replies Created
-
AuthorPosts
-
Neon
ParticipantCODEprocedure TForm1.Button2Click(Sender: TObject);
begin
with TsTabSheet.Create(self) do begin
Caption:='Page '+inttostr(sPageControl1.PageCount);
PageControl:=sPageControl1;
Visible:=True;
end;
sPageControl1.ActivePageIndex:=sPageControl1.PageCount-1;
end;And this works too, just make it visible after setting its PageControl.
Neon
ParticipantWell that's strange… I'm using dynamically created sTabSheets quite often, but couldn't reproduce the problem you described.
The one difference in my code from listed above is:CODEts:=TsTabSheet.Create(Pager);
ts.Parent:=Pager;
ts.ImageIndex:=0;
ts.PageControl:=Pager;This way it works well.
Neon
ParticipantHmmm… try to increase button's height <img src="style_emoticons//rolleyes.gif” style=”vertical-align:middle” emoid=”:roll:” border=”0″ alt=”rolleyes.gif” />
I tried the effect with PNG glyph, and all worked perfectly.Neon
ParticipantYou should describe your problem more clearly, if you want the community to help you. With error message and/or screenshot.
Neon
ParticipantIt controls the reflection of the button's glyph.
Neon
ParticipantИмя шкуры и пишите. С чтением и подгрузкой его при запуске приложения. А уж как и куда писать – дело исключительно хозяйское.
Neon
ParticipantОна же stable. А Саппорт обещал в следующей бете добавить <img src="style_emoticons//wink.gif” style=”vertical-align:middle” emoid=”;)” border=”0″ alt=”wink.gif” />
April 16, 2009 at 6:18 pm in reply to: Не отображается TextHint у эдита и трабла с PageControl #38678Neon
Participantа PageControl->Invalidate() тоже не канает?
Neon
ParticipantЯ использую функцию CutText, чтобы текст заголовка не заезжал на кнопки. А первоначальное значение пишу в Hint.
Neon
ParticipantThen put a TsFormProvider to the form and set it to TsSkinManager you need. I hadn't this problem you described, all worked well…
Neon
ParticipantYou should use two different TsSkinManager components and set one to Golden skin and another to Capuccino.
-
AuthorPosts