[mapguide-users] Call legend palette method from scriptFrame

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Wed Jun 18 13:33:06 EDT 2008


Arh... you have to call mapFrame.GetLegendCtrl()

Regards, Kenneth Skovhede, GEOGRAF A/S



Tom Chadwin skrev:
> Hi Kenneth
>
> Thanks for the reply. I know the description and diagram are in the
> Developers' Guide, but the Legend Palette is not present in either the list
> of frames or the diagram. Is it part of mapFrame? If so, it must be a frame
> within it, since I believe that mapFrame.SetScale() throws an error.
>
> Thanks
>
> Tom
>
>
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>   
>> The viewer frame layout is described in the "MapGuide Developers Guide" 
>> on page 19:
>> http://mapguide.osgeo.org/2.0/documentation.html
>>
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>
>>
>>
>> Tom Chadwin skrev:
>>     
>>> Hello
>>>
>>> I cannot work out which frame contains the legend palette functions. I
>>> want
>>> to execute the Viewer API function SetScale from a script in the
>>> scriptFrame, but cannot seem to get the path right.
>>>
>>> Can anyone help?
>>>
>>> Many thanks
>>>
>>> Tom
>>>   
>>>       
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080618/98c97607/attachment.html


More information about the mapguide-users mailing list