in reply to Re^2: Change readonly status of Win32::GUI::RichEdit
in thread Change readonly status of Win32::GUI::RichEdit

first, ROText is based on Text (i mean implementation, to check do some RTFS), this means that Text is able to become unresponsive to changes.

Second, Text have -state disabled.

what forces you using Win32::GUI?

  • Comment on Re^3: Change readonly status of Win32::GUI::RichEdit

Replies are listed 'Best First'.
Re^4: Change readonly status of Win32::GUI::RichEdit
by ChrisR (Hermit) on Feb 14, 2005 at 19:09 UTC
    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.
      I swear to you that I was not intended starting flame war, no was offended by your likes-dislikes.

      I asked you why you're stuck to Win32::GUI to better understand your problem, and help you better.
      It was quite possible for me that you're stuck with this module just because you don't know how to deal with specific problem, and know solution only there. Or may be your boss forces you to using namely it. Or requirement to have namely that look-n-feel.

      Either way, I was asking only to know situation better!

      Honestly.

      I do not want change your likes/dislikes. I have my way of doing GUI things, you have your own, I can show mine to you, you're free to not even looking to them, this is a free community!

      I mean it!

      addition don't use <pre> tags, you're breaking layout.