Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Change default icon in list form

Forum

Search UsersRules
Change default icon in list form
#1
Interested
Points:: 15
Joined:: Oct 27, 2011

How to change the icon which stands for posted document if I want to use more complex logic? I need to show in the list form unposted, posted and third state icon, which I control with additional attribute.

Profile
#2
Interested
Points:: 15
Joined:: Oct 27, 2011

Managed application

Profile
#3
Just came
Points:: 8
Joined:: Apr 2, 2012

Hi!
You may switch off standard icon for rows in dynamic list and create yourself new with necessary image collection.

As example - create attribute "Status" in document and white into some value in procedure BeforeWhite in DocumentObject module  (0 - unposted, 1 - posted, 2 - third state etc.).
In ListForm for document you must add "status" on form and set for it image with icon collection.
You may download simple example here - <removed due to forum rules violation>

Profile
#4
Interested
Points:: 15
Joined:: Oct 27, 2011

Alexey, thank you very much/ That works fine.

One more question. Where could I get standard 1c icons? I need Document, Posted document, Marked for deletion icon.

Profile
#5
Just came
Points:: 8
Joined:: Apr 2, 2012

Any way you need create image collection - so you may grab picture from screen (from any 1C application), copy little area with needed icon (16x16) and paste it in image-editor 1C.

Profile
#6
Interested
Points:: 15
Joined:: Oct 27, 2011

I did. But it is impossible to copy opacity channel this way. So they does not look exactly like the original ones

Profile
#7
Just came
Points:: 8
Joined:: Apr 2, 2012

you may take it here -
it is looks exactly as original icons :)

Profile
#8
Just came
Points:: 0
Joined:: Nov 2, 2011

You can use standard 1C-image editor for copy transparent image:
1. In Designer, edit picture, select part of picture
2. Use Opaque / Transparent switcher on command bar for copying

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.