View Single Post
  #1  
Unread 03-30-2011, 07:37 AM
TalTal TalTal is offline
A Griffon
Featured
 
Join Date: Nov 2005
Server: Nagafen
Posts: 1,096
Default Datasource Container

Is it possible to dynamically alter the data inside a datasource?

<DataSource Name="PosItemsDS">
<Data Name="1" text="Parent.Parent.Item01.Descrip" />
<Data Name="2" text="B" />
</DataSource>

<Button Name="" Size="0,0" OnPress="
Parent.PosItemsDS.1.text=Parent.Parent.Item01.Descrip
"/>

This does not appear to work. I have also tried:

<Button Name="" Size="0,0" OnPress="
PosItemsDS.1.text=Parent.Parent.Item01.Descrip
"/>

this does not work either. Is it impossible or am I missing something?

Silat
Reply With Quote