On 2010.05.17 17:43, Pritpal Bedi wrote:


Mindaugas Kavaliauskas wrote:

I do not find:
    ::startSelection()
    ::stopSelection()
    ::toggleColumnSelectionMode()


There are three methods:

    ::toggleColumnSelectionMode()
    ::toggleLineSelectionMode()
    ::clearSelection()

"toggle" does not require start/stop constructs.

So, how can I start and end selection?


It manipulated a logical instance variable to switch on/off.

Tell me if it is not sufficient.

No, it's not sufficient:
1)
   ::toggleLineSelectionMode() (starts selection - ok)
   Down
   Down
   ::clearSelection()   (does not stop selection - bad)
   Down

2)
   ::toggleColumnSelectionMode() (selection is not started - bad)
   Down
   Down

3)
   ::toggleSelectionMode() (selection is not started - bad)
   Down
   Down


So, none of 3 selection mode work the way you've suggested, and I want to have methods:
  ::startSlection()
  ::stopSelection()
  ::setLineSelectionMode()
  ::setColumnSelectionMode()
  ::setStreamSelectionMode()
or some way to make these actions using existing methods.


Regards,
Mindaugas
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to