Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These flags have no meaning to the appointments; they are there for your use. However, they do provide some convenience when used with the Layout property. You can define a layout item that consists of 32 images, which correspond to these 32 flags. Once the relationship is established, the images will appear automatically when its flag is turned on.

Of course, you do not need to use these flags with the Layout property. You can simply use this property to store state information for convenient retreival later.

If you need to only set a single flag at a time, use the ApptFlag property.

Example

Code Block
// Set all sixteen flags to a random value 
Flags  = Rnd(2):@FM:Rnd(2):@FM:Rnd(2):@FM:Rnd(2):@FM:Rnd(2):@FM:Rnd(2):@FM:Rnd(2):@FM:Rnd(2):@FM 
Flags := Rnd(2):@FM:Rnd(2):@FM:Rnd(2):@FM:Rnd(2):@FM:Rnd(2):@FM:Rnd(2):@FM:Rnd(2):@FM:Rnd(2) 
Set_Property(@Window:".OLE_SCHEDULE", "OLE.ApptFlags[Appt0001]", Flags) 

// Turn on the 2nd and 4th flags, but leave all the others as is 
Flags = @FM:1:@FM:@FM:1 
Set_Property(@Window:".OLE_SCHEDULE", "OLE.ApptFlags[Appt0001]", Flags)

See Also

LayoutApptFlag