Print Page | Close Window

New MarkupPad2 - UserControl, TextBox

Printed From: Codejock Forums
Category: General
Forum Name: XAML Snippets
Forum Description: Post your XAML snippets here for everyone to enjoy :)
URL: http://forum.codejock.com/forum_posts.asp?TID=21774
Printed Date: 21 May 2018 at 3:22am


Topic: New MarkupPad2 - UserControl, TextBox
Posted By: judin
Subject: New MarkupPad2 - UserControl, TextBox
Date Posted: 05 July 2013 at 2:45pm
uploads/8134/MarkupPad2_20130707.zip" rel="nofollow - uploads/8134/MarkupPad2_20130707.zip

Crash bug has been fixed now.
Crash did not occur on my PC. In another PC crash occurred.

Add TextBox
Add PasswordBox
Add ComboBox(ComboBoxItem)
Add UserControl(DataTimeCtrl, ReportControl, ETC)

The status bar displays information.
Add Handler(Hyperlink, Button, RadioButton, CheckBox)
  - ClickEvent(Tag, Text, Checked).

Add Handler(TextBox, PasswordBox)
   - CreateEvent, TextChanged(Tag, Text).

Add Handler(ComboBox)
  - SelectionChanged(Tag, SelectedIndex).

Add Handler(UserControl)
  - CreateEvent 
  - MouseLeftButtonUp, m_pMouseLeftDblClicked, m_pMouseRightButtonUp
  - ValueChanged
  - SelectionChanged
  - DestroyEvent

Add Handler(UserControl - DateTimeCtrl)
  - Tag(Date_xxx => shortdate. DateTime_xxx => longdate, Time_xxx => time)
  - ValueChanged(Text)

Add Handler(UserControl - ReportControl)
  - Tag(Report_xxx)
  - MouseLeftButtonUp, m_pMouseLeftDblClicked, m_pMouseRightButtonUp
  - SelectionChanged(SelectedIndex)
  - DestroyEvent

etc, The function of UserControl as a developer can be given later.

MarkupPadEdit has applied in the syntax color.(xaml_schclass)
AutoComplete support Ctrl+Space 

please refer to the sample(xaml) Files(s1.xaml, s2.xaml, s3.xaml, s4.xaml, s5.xaml).

Please reply if you need source code.




Replies:
Posted By: xcentric
Date Posted: 05 July 2013 at 4:16pm
Crashed on start...
Win7 x64
WinXP



-------------
Toolkit Pro 15.1.2
Windows 7 x64
Visual Studio 2008


Posted By: Carlos Rocha
Date Posted: 05 July 2013 at 10:20pm
Originally posted by judin judin wrote:

Please reply if you need source code.

That would be nice as the exe crashes here Smile


-------------
Product: Codejock Xtreme SuitePro 15.3.1 for CommandBars
SuitePro 16.3.1 for all the rest

OS: Windows 8.1

Language: Visual Objects 2.8


Posted By: judin
Date Posted: 07 July 2013 at 7:29am
uploads/8134/MarkupPad2_20130707.zip" rel="nofollow - uploads/8134/MarkupPad2_20130707.zip

Crash bug has been fixed now.
Crash did not occur on my PC. In another PC crash occurred.

Thanks a lot.


Posted By: xcentric
Date Posted: 07 July 2013 at 8:54am
Looks great!!!
It must be integrated into the Toolkit Pro Thumbs Up



-------------
Toolkit Pro 15.1.2
Windows 7 x64
Visual Studio 2008


Posted By: jbriguet
Date Posted: 25 July 2013 at 6:26am
I am interested in source code, as I have some crashes, and it may allows me to a better understanding of the way you handled usercontrols.

Thanks !


Posted By: gibrael
Date Posted: 07 September 2013 at 9:08pm
Hi,
Great job on this! 
I'm also interested in how you implemented a TextBox. Source code if possible.

Keep it up! :)
Thanks.


-------------
--
Codejock Xtreme Suite Pro 15.2
VisualStudio 2010
Windows 7


Posted By: wywty
Date Posted: 28 April 2014 at 12:36am
I am interested in source code
thanks a lot


Posted By: evoX
Date Posted: 02 February 2015 at 1:42pm
Thanks ! :)

-------------
Product: Xtreme ToolkitPro 17.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2015)


Posted By: WaLtI
Date Posted: 01 March 2015 at 6:36pm
thx


Posted By: robirenz
Date Posted: 04 March 2015 at 12:45pm
Could you post the source of what you did. to make the xaml textboxes work?  Thanks..


Posted By: evoX
Date Posted: 14 June 2015 at 8:07pm
Ctrl+mouse wheel scroll does not zoom in or out the text size (like in the original markuppad) which makes it harder to use on large resolution monitors. 
If you don't have time to fix this then posting the source code would be helpful for many members here.



-------------
Product: Xtreme ToolkitPro 17.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2015)


Posted By: rvoith
Date Posted: 30 November 2015 at 4:14am
Great enhancement! I would love to see the source code too :-)

-------------
Best regards,
Bob
Proud Programmer!


Posted By: rvoith
Date Posted: 01 December 2015 at 5:36am
Did anybody receive the sourcecode for MarkupPad2? 

-------------
Best regards,
Bob
Proud Programmer!


Posted By: evoX
Date Posted: 06 March 2016 at 6:02pm
It would be nice if codejock would make a MarkupPad 2, because the original one is very limited.

-------------
Product: Xtreme ToolkitPro 17.30
Platform: Windows 10 64bit
Language: Visual C++ (VS 2015)



Print Page | Close Window