Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Code Samples & Tips > Additional Libraries
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.


Pretty printing library


Reply
 
LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old 07-03-2008, 06:32 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 677
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Hi Andrew,

Does there exist a horizonzal scrollbar, for example if there is an image in the file wider than the RichTextBox.Width ?

Again thank you in advance.
__________________
Klaus
Switzerland
Reply With Quote
  #42 (permalink)  
Old 07-03-2008, 07:24 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by klaus View Post
Does there exist a horizonzal scrollbar, for example if there is an image in the file wider than the RichTextBox.Width ?
Yes. There is a ScrollBars property which defaults to Both. However it works in conjunction with a WordWrap property whose default is true which suppresses the horizontal scrollbar. You could get at these with the Door library but as I am messing with the source to get a dummy library I'll include these in a new version so you can play with them.
Reply With Quote
  #43 (permalink)  
Old 07-03-2008, 09:16 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 677
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Thank's Andrew that's pretty good news.

Best regards.
__________________
Klaus
Switzerland
Reply With Quote
  #44 (permalink)  
Old 07-04-2008, 10:47 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Version 1.7 with a dummy library for the device posted in first post. The device library uses a multiline Textboax as a placeholder for the RichTextBox and some of the common control properties work like Top, Left, Scrollbars etc. Most of the other properties are dummies. Let me know of any problems.
Reply With Quote
  #45 (permalink)  
Old 07-04-2008, 12:52 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 677
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Thank you very much for your quick and valuable help Andrew,

It works fine !!!
I have not tested everyting, but for my current needs it's OK !

Could the library also be enclosed in the EXE file, or would it be complicated ?

Best regards
__________________
Klaus
Switzerland
Reply With Quote
  #46 (permalink)  
Old 07-04-2008, 01:07 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Quote:
Originally Posted by klaus View Post
Could the library also be enclosed in the EXE file, or would it be complicated ?
Sources for merging now posted.
Reply With Quote
  #47 (permalink)  
Old 07-04-2008, 01:25 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 677
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

Thank you again Andrew.

Best regards.
__________________
Klaus
Switzerland
Reply With Quote
  #48 (permalink)  
Old 11-10-2008, 10:05 AM
Knows the basics
 
Join Date: Jan 2008
Posts: 53
Default RTF Table

Hi,

is there also a chance to addtext a Table? It would be great.
Reply With Quote
  #49 (permalink)  
Old 11-10-2008, 12:41 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,700
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

I am afraid not, it is non-trivial to code it for a .NET RichTextBox and encapsulate in a library so I won't be trying it any time soon. You might be able to try yourself using the Rtf property if you know anything about RTF codes.
Reply With Quote
  #50 (permalink)  
Old 11-10-2008, 01:12 PM
Knows the basics
 
Join Date: Jan 2008
Posts: 53
Default Tables in RTF

Hi,

I know anthing about the RTF code, but how can i put the code in the RTF
that doesn't work

s = rtb.Rtf & "\trowd\trgaph70\\trleft-108\trbrdrt\brdrs\brdrw10 \trbrdrl\brdrs\brdrw10 \trbrdrb\brdrs\brdrw10 \trbrdrr\brdrs\brdrw10 \clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\brdrs\clbrd rb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx1982\clbrdrt\brdrw15\brdrs\clbrdrl\brdrw15\b rdrs\clbrdrb\brdrw15\brdrs\clbrdrr\brdrw15\brdrs \cellx3311\pard\intbl\b Das ist die Tabelle\cell Erste Zeile\cell\row\intbl Spalte1\cell Spalte 2\cell\row\pard\b0\"

rtb.Rtf = rtb.Rtf & s

was only an idea sorry.

is there an other way?
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
PhoneticAlgorithms Library (ex-StringComparison Library) moster67 Additional Libraries 10 11-11-2008 08:46 PM
printing capabilities Cableguy Basic4ppc Wishlist 13 07-21-2008 04:02 PM
Door library (Beta) - Special library Erel Official Updates 48 07-18-2008 03:33 PM
Merging Outlook library and Phone library Erel Official Updates 2 07-14-2008 04:38 PM
printing and barcode printing help jchal Questions & Help Needed 3 06-02-2008 07:05 PM


All times are GMT. The time now is 10:06 PM.


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