delphibeginner
asked on
TAdvOfficePager with Frame in every Tab
I am creating a program with tabsheets (TMS Advofficepager not the standard tabsheet), now I want to when I press the new button to add multiple components (grid, listbox, richedit, labels, buttons) on every page that is created.
With the frame (added every component on it), this way it a little easier.
I tried the with the parent of frame (advofficepager). But then the buttons (speedbuttons) are not displayed correct.
Is there a example on how to do this?
Thanks.
With the frame (added every component on it), this way it a little easier.
I tried the with the parent of frame (advofficepager). But then the buttons (speedbuttons) are not displayed correct.
Is there a example on how to do this?
Thanks.
ASKER
Thanks for your reply. I will think about it.
I tried something else. The buttons on the frame where displayed in a wrong way, but when I anchors the button to; left, top, bottom, right, the button is displayed correct, but then when I maximise the form, the buttons are stretched as well (I know that is because the anchors).
Is there an other way, or should I use the way you suggested.
btw: here is a pic of how button looks like without the anchors (right, bottom), left and top are true.
Thanks
button-without-right-and-bottom-.PNG
button-with-right-and-bottom-anc.PNG
I tried something else. The buttons on the frame where displayed in a wrong way, but when I anchors the button to; left, top, bottom, right, the button is displayed correct, but then when I maximise the form, the buttons are stretched as well (I know that is because the anchors).
Is there an other way, or should I use the way you suggested.
btw: here is a pic of how button looks like without the anchors (right, bottom), left and top are true.
Thanks
button-without-right-and-bottom-.PNG
button-with-right-and-bottom-anc.PNG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the reply.
I tried to place a panel and then place the button inside the panel, but same result.
My guess is that there is a bug in the button.
I tried to place a panel and then place the button inside the panel, but same result.
My guess is that there is a bug in the button.
Back to my last question, can you post the DFM for me?
ASKER
Sorry about my late reply, I have solved the problem, the buttons do have a skindata, and I had the wrong skindata selected.
I will split the point, because I find it right to give you some points for the effort.
Thanks for your help.
I will split the point, because I find it right to give you some points for the effort.
Thanks for your help.
ASKER
none
Let me know if you need more.