Showing results 1 to 2 of 2

Thread: ProductionFacilityScheduler - can't set CountryName property

  1. #1
    Join Date
    31.05.2018
    Posts
    5

    Default ProductionFacilityScheduler - can't set CountryName property

    Hello all,

    I've found yet another problem with ProductionFacilityScheduler object in AddIn Framework. Trying to set the value of CountryName property throws the exception (Unable to write read-only property) even though that Help hints that technically it is possible to change it during Runtime.

    Click image for larger version

Name:	Help_Pfs.PNG
Views:	8
Size:	28.7 KB
ID:	2912

    Click image for larger version

Name:	code.PNG
Views:	9
Size:	3.7 KB
ID:	2913

    Click image for larger version

Name:	damn_wtf_bitch.PNG
Views:	9
Size:	22.0 KB
ID:	2914

    Click image for larger version

Name:	XD.PNG
Views:	7
Size:	6.6 KB
ID:	2915
    Is there any workaround for it?

    Best regards,
    Mikolaj

  2. #2
    Join Date
    31.05.2018
    Posts
    5

    Default Re: ProductionFacilityScheduler - can't set CountryName property

    Unsuprisingly the problem persists also when trying to set the property via COM. Any ideas?

    Code:
    zenonProject = ((zenOn.Application)Marshal.GetActiveObject("zenOn.Application")).Projects().Item("TestProj");
    zenonProject.Pfs().CountryName = lang;

Similar Threads

  1. XAML property
    By banpr1 in forum VSTA
    Replies: 8
    Last Post: 21st November 2019, 03:11
  2. Replies: 3
    Last Post: 26th February 2019, 16:34
  3. Replies: 4
    Last Post: 25th January 2017, 00:28
  4. Changing Iamge BackgroundImage property
    By davide.galigani in forum VBA
    Replies: 1
    Last Post: 1st June 2010, 01:13
  5. Parameters in Property window greyed out?
    By dak2483 in forum zenon Supervisor
    Replies: 1
    Last Post: 25th September 2008, 14:24

Tags for this Thread

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •