Hello all,
I am trying to do something like this in Cocoa:
User clicks in the window and my Object (in this case, a UserControl with a drop pin appears where the user clicked). If the user clicks on the drop pin, another window will popup with information etc...
How would I go about replicating a graphical object? Obj-C objects are piece of cake (UserControl *UC = [[UserControl alloc] init];...) but I can't seem to make it happen with graphical objects.
VB Codes looks something like this:
private sub form1_mouseDown(x as int, y as int)
dim i as integer
i = userControl.count
load userControl(i)
userControl(i).move x, y
end sub
thanks!!!
D.
I am trying to do something like this in Cocoa:
User clicks in the window and my Object (in this case, a UserControl with a drop pin appears where the user clicked). If the user clicks on the drop pin, another window will popup with information etc...
How would I go about replicating a graphical object? Obj-C objects are piece of cake (UserControl *UC = [[UserControl alloc] init];...) but I can't seem to make it happen with graphical objects.
VB Codes looks something like this:
private sub form1_mouseDown(x as int, y as int)
dim i as integer
i = userControl.count
load userControl(i)
userControl(i).move x, y
end sub
thanks!!!
D.