... := .T. oMapPoint:Toolbars:Item("Location and Scale"):Visible := .T. oMapPoint:PaneState := 1 // Turn on legend for route planer // These two only valid for mappoint application object, not a control object oMapPoint:Visible := .T. oMapPoint:UserControl := 1 // Give control ...
oActiveX:SetProp("PaneState", 1) // Turn on legend for route planer // This line returns nil MsgInfo( OleGetProperty( oActiveX:hActiveX, "PaneState" ) ) // This line returns 1, which is correct. MsgInfo( oActiveX:GetProp("PaneState") ) So, ...
... with the same results. // This line turns on the Legend and works properly oActiveX:SetProp("PaneState", 1) // Turn on legend for route planer // This line returns nil MsgInfo( OleGetProperty( oActiveX:hActiveX, "PaneState" ) ) // This line returns 1, which is correct. MsgInfo( ...