GetEventObjProperties

Usage                  Long GetEventObjProperties(Propery As Short)

Description         This method retrieves the required property of the object clicked on. You can use this function in the UserDefined event handler.

Parameters         Property             Short                  This parameter specities the required property.

 

                                                                                    Available Values:

                                                                                    ObjPosX(=0)

                                                                                    ObjPosY(=1)

                                                                                    ObjWidth(=2)

                                                                                    ObjHeight(=3)

                                                                                    ObjColorConstant(=4)

                                                                                    ObjRGBRed(=5)

                                                                                    ObjRGBGreen(=6)

                                                                                    ObjRGBBlue(=7)

                                                                                    ObjNoteRGBRed(=8)

                                                                                    ObjNoteRGBGreen(=9)

                                                                                    ObjNoteRGBBlue(=10)

                                                                                    ObjLineWidth(=11)

                                                                                    ObjLineType(=12)

                                                                                    ObjHALign(=13)

                                                                                    ObjVAlign(=14)

                                                                                    ObjBorder(=15)

                                                                                    ObjOpaque(=16)

 

Return value      Value of the specified property or 0 on error. Call GetLastAnnoError method for last error code occurred.

Programming Notes        See GetEvent…methods for detailed information.