![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Tutorials Basic4ppc tutorials |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
In the waiting, my problem comes from the fact that the Width property of a table gives the external width of the control but not the internal net width in which one can place the columns. This is perfectly normal of course. But I have a problem when I try to programmatically fix the the width of the columns of my table, like
Code:
colWidth = Round((Table1.Width)/Table1.ColCount) For i = 0 To Table1.ColCount-1 Table1.ColWidth (Table1.ColName(i)) = colWidth Next colWidth = Round((Table1.Width-rightMargin)/Table1.ColCount) and adjust rightMargin by trial and error. But this is not a very elegant solution, since if I do not have a scroll bar, this leaves a small empty border on the left of the table, where the scroll bar is supposed to appear if necessary. Am I stupid or is this a real aesthetic problem? I hope that this is better understandable. ![]() Regards, Murat
__________________
PC: Laptop CoreDUo, Windows XP SP2 French PPC: TyTN, WM5 French -> iPAQ 214 WM6 French (to diverge or not to diverge,...) |
|
|||
|
Thank you Erel,
Yes, It is not a VGA problem but my efforts to make my program VGA compatible by adjusting different margins (in complement of the sizes of the controls) made this problem more bothering. Your tip is very simple and smart! I will definitely use it. Best regards, Murat
__________________
PC: Laptop CoreDUo, Windows XP SP2 French PPC: TyTN, WM5 French -> iPAQ 214 WM6 French (to diverge or not to diverge,...) |
|
|||
|
Hello Erel,
while I zaped through the Help-File of the CF 2.0 I found some AutoScale-Features in CF 2.0 like: ContainerControl.AutoScaleDimensions-property ContainerControl.AutoScaleFactor-property ContainerControl.AutoScaleMode-property Isn't it possible to solve the VGA-problem with the new CF 2.0 proprties ?? Best regards berndgoedecke |
|
|||
|
A bit late but I have only just arrived at this.
Would it be true to say that your snippet produces pixel doubling, and if not used, the VGA screen can have control sizes/positions set to my choice and the result will be true use of a VGA screen with optimized compiling? I get more on screen but would not be QVGA compatible. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why is my drawer.New2() not working? | willisgt | Questions & Help Needed | 3 | 06-29-2008 10:27 AM |
| working with date | gjoisa | Questions & Help Needed | 3 | 03-29-2008 09:40 AM |
| Working ipac METER??? | bGoody_iPAC_rx1950PPC | Questions & Help Needed | 2 | 03-20-2008 07:02 AM |
| Working with screen resolutions | Nycran | Questions & Help Needed | 25 | 02-13-2008 02:04 PM |
| working with FormExDesktop_1.2 | Cableguy | Questions & Help Needed | 20 | 01-28-2008 06:02 PM |