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

  • Thread starter Thread starter Russ Ryba
  • Start date Start date
R

Russ Ryba

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
 
What specific properties/methods would you most like to use from
TextBoxBase?

Peter
 
Peter said:
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
 
Russ said:
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.
 
Back
Top