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.


Best way to do this?


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-13-2008, 11:13 PM
Senior Member
 
Join Date: Sep 2008
Posts: 161
Default Best way to do this?

I'm still trying to figure out a major design problem with Gecko. When the user selects and application in a list, it is then shown in a new form and the user can see it. Information include title, version, developer name, description and up to 3 screenshots.

I tried displaying it with the WebBrowser library but since it's based on PIE, it allows users to access their favorites and reach other websites. HTML was perfect but I didn't want imposed scrollbar sizes (20 pixels wide is better for the fingers!) and access to the PIE context menu.

By using a panel, a scrollbar, a few labels, image controls and a TEXTBOX for the third control, it would add a scrollbar withing a scrollbar (textbox in panel), unless there is a way to resize a control based on the paragraph size. I like the "no borders" property of textboxex (havn't tried it yet).

Anyone care to help me with this one? It pretty much halted development since I want to finish the core before adding new features.
Reply With Quote
  #2 (permalink)  
Old 11-14-2008, 12:44 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,806
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I found this, it may be worth the reaading...
__________________
Paulo Gomes
Porto, Portugal

"The Past is nothing more than the constructions of a Present that was once called Future"

Desktop PC: Currently NONE
Mobile Device: QTEK S200, WinMo 6.5
Laptop: Toshiba NB100-130

DLL Version Listing
Reply With Quote
  #3 (permalink)  
Old 11-14-2008, 01:07 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 3,893
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Cableguy View Post
I found this
Before anyone asks, don't even think of asking me to implement this one
Reply With Quote
  #4 (permalink)  
Old 11-14-2008, 01:39 PM
Basic4ppc Veteran
 
Join Date: Feb 2008
Location: Hilversum, The Netherlands
Posts: 298
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by agraham View Post
Before anyone asks, don't even think of asking me to implement this one
LOL :-)

-=edit=-
added my 2 cents.

Not sure if I got this correctly,
You are using the webbrowser.dll and everything is to your liking, but the access to the context menu, and scroll bars?

You might be able to use the dzHtmlView lib for this, you might need to tweak the html file a bit, but I think it could work the same
With the exception of the context menu.
Also I’m not sure if dzHtmlView accepts non-local html files, but this could be done through downloading (http.lib & binary.dll) the html file
To a temp directory, and read it into a hidden field, next have dzHtmlView display the information….

That way you have full control over the data and not context menu.
scrolling only shows if the text is too big for the area.

-=edit2=-
added an example.

you could just use a txt file with some formatting (and use the DB2000 lib)
that way you can populate more than 1 field.

btw, the actual view works only on the device
Attached Files
File Type: zip dzHtmlView.zip (19.0 KB, 22 views)

Last edited by Mr_Gee : 11-14-2008 at 03:24 PM.
Reply With Quote
  #5 (permalink)  
Old 11-14-2008, 11:47 PM
Senior Member
 
Join Date: Sep 2008
Posts: 161
Default

Quote:
Originally Posted by Mr_Gee View Post
LOL :-)

-=edit=-
added my 2 cents.

Not sure if I got this correctly,
You are using the webbrowser.dll and everything is to your liking, but the access to the context menu, and scroll bars?

You might be able to use the dzHtmlView lib for this, you might need to tweak the html file a bit, but I think it could work the same
With the exception of the context menu.
Also I’m not sure if dzHtmlView accepts non-local html files, but this could be done through downloading (http.lib & binary.dll) the html file
To a temp directory, and read it into a hidden field, next have dzHtmlView display the information….

That way you have full control over the data and not context menu.
scrolling only shows if the text is too big for the area.

-=edit2=-
added an example.

you could just use a txt file with some formatting (and use the DB2000 lib)
that way you can populate more than 1 field.

btw, the actual view works only on the device
There won't be more than one file. Only a single offline SQL database. I'm not necessarily looking for HTML, but it does the job well. Another way would be something similar to a tab control. One page for the main stuff, another for the description and the last one for the screenshots. This way it would solve all the problems at once. I would use StrReplace to change <br> for line breaks. This would solve many problems if it works.
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


All times are GMT. The time now is 09:49 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0