16,023,224 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by V_Nick (Top 2 by date)
V_Nick
10-Jun-23 8:30am
View
Dear Gerry,
What I have in mind is create something like Chessbase or Arena Notation Window.
I want to be able to present in GUI the following structure:
(Main Line)
[Comment] move(SAN) [Comment] ... move(SAN) [Comment]
--> (variation 1)
[Comment] move(SAN) [Comment] ... move(SAN) [Comment]
--> (sub-variation 1)
[Comment] move(SAN) [Comment] ... move(SAN) [Comment]
.......................etc...........................
--> (variation 2)
[Comment] move(SAN) [Comment] ... move(SAN) [Comment]
.......................etc...........................
[Comment] move(SAN) [Comment] ... move(SAN) [Comment]...etc
As you can realise, my problem is presenting this output as ListView or DataGridView or RitchTextBox, as the cursor must highlight moves only (not comments) while the game is replayed.
Comments and moves can be changed with DoubleClick.
Any ideas?
V_Nick
5-Mar-23 16:50pm
View
I already have a PGN Implementation class.
My design include the following:
I imagine the container as a RichTextBox containing records.
Each record will have three (strings) parts side by side. Each one will be RTF string.
The first and third part will be comments (before and after) and will not be highlighted on KeyPress or MouseClick.
The second part containing the move will be chosen and highlighted.
Every record will have a start point.
Variations will start in new lines and start at different locations.
Please see the links above.
I need the Form Design, Presentation and Manipulation, i.e OnMouseClick, KeyPress, Edit, Insert, Delete etc.