ok. I don't want to get into a flame war here as this is not why I come to this site. I come here to give and receive useful information that helps in solving a stated problem or achieving a stated goal. That being said, I did make the mistake of calling
ROText by
TextRO. However, I do not want to
disable the widget. I only want to make it
readonly. Looking at the docs, I found nothing regarding
readonly for Text. After RTFS for Text, I see the
sub bindRdOnly but it is not documented or commented from what I can see and I would just be taking a stab in the dark at how to use it correctly.
I am sorry if you are offended by my unfamiliarity/dislike of Tk since I see now that you are one of the maintainers on CPAN. I spent some time trying Tk and now I am spending some time using Win32::GUI. I found things I liked and disliked about Tk just as I am with Win32::GUI. At this point, I like Win32::GUI better, but I am just getting started. Next, I plan on trying out wxPerl. After a while, I'm sure I will be able to pick what I like best about each package and use them where they are best suited.
I think the main point here is that I am using Win32::GUI and had a valid question about it. At least I thought it was a valid question. I have worked around the problem as I stated in an update to the original post even though it is not the way I would have liked to do it.
Again, I don't come to perlmonks to flame or be flamed (even though it does happen sometimes). I come here because this is the best place I have found for perl questions and answers.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.