Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Retrieve Appointment from a MouseEvent (Calendar) (Read 837 times)
Bruno Dufour
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 15
Joined: Jul 28th, 2022
Retrieve Appointment from a MouseEvent (Calendar)
Aug 9th, 2022 at 12:07pm
Print Post  


I need to pop up a contextual menu when clicking (right button) on an appointment.
What is your suggestion ?

I tried with :

CalendarAdapter class:

  protected void onItemClick(ItemMouseEvent e) {

        Object lObj = e.getSource();
        int lX = e.getX();
        int lY = e.getY();
....

???


I don't know how to get the appointment from there.

  
Back to top
 
IP Logged
 
Slavcho
God Member
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Retrieve Appointment from a MouseEvent (Calendar)
Reply #1 - Aug 9th, 2022 at 12:53pm
Print Post  
The appointment is returned by ItemMouseEvent.getItem()

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint