Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


VGA + TabControl


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-10-2008, 04:28 PM
Knows the basics
 
Join Date: Jan 2008
Posts: 55
Default VGA + TabControl

Hello! I'm sorry, if someone asked this before, but devices with VGA screens dont show tabs from the ControlsEx library Im using Erel's code from "working with VGA screens" thread. I hope there is a decision somewhere?
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 05:43 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

You will need to add the following code in sub ChangeToVga:
Code:
Case "TabControl.TabControl"
                Control(Controls(i),TabControl).Left = 2 * Control(Controls(i),TabControl).Left
                Control(Controls(i),TabControl).Top = 2 * Control(Controls(i),TabControl).Top
                Control(Controls(i),TabControl).Height = 2 * Control(Controls(i),TabControl).Height
                Control(Controls(i),TabControl).Width = 2 * Control(Controls(i),TabControl).Width
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 05:58 PM
Knows the basics
 
Join Date: Jan 2008
Posts: 55
Default

Added. No effect :-( Tabs just not appears in the middle of the screen... Program tested on glofiish x500+ with NET CF 3,5
Reply With Quote
  #4 (permalink)  
Old 04-10-2008, 06:39 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,770
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Is that a SmartPhone? I am afraid that I don't think the TabControl is present on SmartPhones!
Reply With Quote
  #5 (permalink)  
Old 04-10-2008, 06:50 PM
Knows the basics
 
Join Date: Jan 2008
Posts: 55
Default

no no! Its PDA of course. Im scared to make programs for smartphones - even on PDA there is a lot of problems wits screens
Reply With Quote
  #6 (permalink)  
Old 04-10-2008, 06:52 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Can you take a screenshot?
Reply With Quote
  #7 (permalink)  
Old 04-11-2008, 02:06 PM
willisgt's Avatar
Senior Member
 
Join Date: Aug 2007
Location: Nacogdoches, Texas USA
Posts: 157
Default

Elrick, I assure you that TabControl does indeed work on VGA devices. I've used it without a problem on an HTC Advantage and an HP iPaq 210.

I can't know exactly what the problem is, but it's not due solely to VGA.

Gary
__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5
PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6
Reply With Quote
  #8 (permalink)  
Old 04-12-2008, 06:13 PM
Knows the basics
 
Join Date: Jan 2008
Posts: 55
Default

I'm sorry for the delay. This is really interesting... I've attached 2 screenshots:
1 - how it looks on my Glofiish M700
2 - how it looks on my friend's pda with vga screen
I really dont know why it works for all except me... I even have added "bring to front" property to tabcontrol. Still no effect... Can anybody make code with TabControl which works on their device?
Attached Images
File Type: jpg 1.jpg (23.2 KB, 21 views)
File Type: jpg 2.jpg (13.2 KB, 20 views)
Reply With Quote
  #9 (permalink)  
Old 04-12-2008, 06:53 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

Are you sure that the Glofiish M700 has a VGA screen (480 * 640)?
The specifications I found say that it has a regular QVGA screen.
Reply With Quote
  #10 (permalink)  
Old 04-12-2008, 07:00 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,770
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by Elrick View Post
Program tested on glofiish x500+ with NET CF 3,5
Quote:
Originally Posted by Elrick View Post
how it looks on my Glofiish M700
Which device are we talking about? Have you tried reducing the size of the TabControl in case it is a size issue and the tabs are off the screen?

Last edited by agraham : 04-12-2008 at 07:04 PM.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
using tabControl from ControlsEx Ricky D Questions & Help Needed 2 09-18-2008 07:21 AM
add progressbar in to tabControl thaidelphi Questions & Help Needed 1 09-05-2008 05:55 PM
Tabcontrol problem kolbe Bug Reports 2 05-31-2008 05:00 PM
TabControl Colours IansResearch Basic4ppc Wishlist 1 07-02-2007 04:20 AM
Tabcontrol Colors IansResearch Questions & Help Needed 1 06-29-2007 11:12 AM


All times are GMT. The time now is 02:08 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0