PC Review


Reply
Thread Tools Rate Thread

Could OpenNetCF InkX control be change to inherit from TextBoxBaseinstead of control?

 
 
Russ Ryba
Guest
Posts: n/a
 
      2nd Dec 2004
Could OpenNetCF InkX control be change to inherit from TextBoxBase
instead of control?

I really like the OpenNetCF stuff. It's quite useful. Does anyone know
if it's possible to change things to inherit all the features of
TextBoxBase, instead of inheriting from Control as it currently does?

The RichText and Textbox controls are based on TextBoxBase on the
desktop. I wonder if it would be possible to change InkX to use the
same base.

I have been messing with it, but I just learned .NET, and the low level
marshaling is giving me troubles. I really just want a Richtext
control, no ink, no recording, no handwriting, zoom, etc.

Would this best be accomplished as a New OpenNetCF (or other namespace)
control, or would it be easier to change the InkX to inherit from
System.Windows.Forms.TextBoxBase instead of System.Windows.Forms.Control?

Let me know what you think...

Russ Ryba
 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      2nd Dec 2004
What specific properties/methods would you most like to use from
TextBoxBase?

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"Russ Ryba" <(E-Mail Removed)> wrote in message
news:OV9F%(E-Mail Removed)...
> Could OpenNetCF InkX control be change to inherit from TextBoxBase instead
> of control?
>
> I really like the OpenNetCF stuff. It's quite useful. Does anyone know
> if it's possible to change things to inherit all the features of
> TextBoxBase, instead of inheriting from Control as it currently does?
>
> The RichText and Textbox controls are based on TextBoxBase on the desktop.
> I wonder if it would be possible to change InkX to use the same base.
>
> I have been messing with it, but I just learned .NET, and the low level
> marshaling is giving me troubles. I really just want a Richtext control,
> no ink, no recording, no handwriting, zoom, etc.
>
> Would this best be accomplished as a New OpenNetCF (or other namespace)
> control, or would it be easier to change the InkX to inherit from
> System.Windows.Forms.TextBoxBase instead of System.Windows.Forms.Control?
>
> Let me know what you think...
>
> Russ Ryba



 
Reply With Quote
 
Russ Ryba
Guest
Posts: n/a
 
      2nd Dec 2004
Peter Foot [MVP] wrote:
> What specific properties/methods would you most like to use from
> TextBoxBase?
>
> Peter
>


The features I would like to see available are...

..SelectionStart - Get/Set
..SelectionLength - Get/Set
..SelectedText - Get/Set
..ScrollToCaret Method

These are the core of my application. It's a reader that allows people
to view a file that's being edited remotely. Changes are sent to the
handheld as they are made.

Then the other things I would need as far as richtext would be something
like...

..MakeSelectionBold
..MakeSelectionItalic
 
Reply With Quote
 
Russ Ryba
Guest
Posts: n/a
 
      2nd Dec 2004
Russ Ryba wrote:
> Peter Foot [MVP] wrote:
>
>> What specific properties/methods would you most like to use from
>> TextBoxBase?
>>
>> Peter
>>

>
> The features I would like to see available are...
>
> .SelectionStart - Get/Set
> .SelectionLength - Get/Set
> .SelectedText - Get/Set
> .ScrollToCaret Method
>
> These are the core of my application. It's a reader that allows people
> to view a file that's being edited remotely. Changes are sent to the
> handheld as they are made.
>
> Then the other things I would need as far as richtext would be something
> like...
>
> .MakeSelectionBold
> .MakeSelectionItalic


And of course the .Text property, but I believe that is already implemented.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inherit and control properties. shawncraig@yahoo.com Microsoft VB .NET 4 17th Aug 2007 01:47 PM
Inherit from UserControl vs Control Michael C Microsoft C# .NET 2 19th Apr 2006 03:19 PM
InkX Control and it's File Types =?Utf-8?B?ZWQ=?= Microsoft Dot NET Compact Framework 0 22nd Dec 2005 02:51 PM
How to inherit an user control? Danny Ni Microsoft ASP .NET 0 21st May 2005 12:59 PM
Inherit User control 2.0? CJ Taylor Microsoft ASP .NET 0 25th Sep 2004 06:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:03 AM.