How to set up smartphones and PCs. Informational portal
  • home
  • Advice
  • How to scale up in 1c 8.3 enterprise. Fast scaling of forms

How to scale up in 1c 8.3 enterprise. Fast scaling of forms

Implemented in version 8.3.10.2168.

We have implemented a mechanism for fast scaling of forms. Most of it is intended, of course, for users, but developers can also use it if necessary.

We believe that this mechanism will be convenient and useful in cases where you need to quickly and easily, or briefly and temporarily increase or decrease the scale of the application data displayed in the form.

You probably know that you can make the font larger by changing the screen resolution. And some time ago, we refined platform mechanisms so that applied solutions were clearly and correctly displayed when. But changing DPI is a relatively complex and "fundamental" operation. First, not all users have the knowledge to do it. And secondly, it affects all applications installed on the computer. If you need to increase or decrease something only "here and now", or if users are not qualified, they will not change DPI.

In such a situation, the mechanism for quickly scaling forms will come in handy. If the user does not have good eyesight, he can easily make himself "bigger". And if your eyesight is good, but not the entire table fits in the width of the form, you can make it "smaller".

In client applications

To change the scale of managed forms and documents in client applications, you can use either the main menu or a command from the system command area:

The dialog for setting the scale opens in the upper right corner, but you can move it to any place on the screen that is convenient for you:

The shape can be scaled from 50% to 400%. In this case, not only the size of the font and elements is increased or decreased, but the whole form is rebuilt to fit the new sizes of the elements.

For example, you can increase it up to 200%.

Or vice versa, reduce it to 70%.

Zooming is done on the client and does not require a server call.

Scaling is applied only to the content of the form. Systembars, favorites dialog, and history dialog are not scalable. Also, frames and scrollbars inside the form are not scaled. Resizing these elements can be achieved by changing the screen resolution (DPI).

By moving the slider, you change the scale for one shape. But if you want to apply this scale to all forms, then there is a button for this. Install for everyone... The same button will help you to return the scale of all shapes to 100% at any time.

Despite the fact that we have laid down a fairly large range of zooming, we do not believe that all of it will necessarily be used. According to our estimates, users who want to use this feature will slightly reduce all forms, to 90-95%, and on the contrary, some forms will slightly increase to 105-110%.

Maintain scale

Scales are stored for each form separately in local storage on the user's computer. In addition, the general scale for all forms is stored there, which has a standard value of 100%. When setting a new scale for all shapes, the individual values ​​for each shape are removed.

Form scale in configurator

In the configurator, you can also set the scale at which the form will be shown to the user. To do this, we have implemented the form property Scale... We recommend using this property in cases in which you have previously used Option Scale: Compact... You need to proceed from the fact that in compact mode the scale of the form is approximately 80%.

Shape preview to scale

While editing the form in the configurator, you can see how it will look at different scales. Scale selection from several fixed values ​​is available in the form editor.

As a result, the shape displayed in the preview area will be enlarged, for example, up to 150%.

Displaying pictures

In order for the enlarged forms to look good, you need to have several versions of the same picture, intended for different resolutions. Therefore, the mechanism of variants of pictures, which already exists in the mobile platform, we have extended to the platform for personal computers.

Now, not one picture is specified for display, but a set of variants of this picture in the form of an archive. In this archive there are options for different resolutions and for different interface options. For displaying, the platform selects an option suitable for the current DPI and the scale of the form.

For example, now the checkbox image is a set of several options: for platform 8.2 (normal interface), for platform 8.3 (interface Taxi), for compact mode, for different scales.

Pictures stored in the configuration can also be presented as a set. Now for the picture you can set not only the screen density (scale), but also the version of the interface for which the picture will be used.

The appearance of the 1C program is completely (or almost completely) customizable. For example, a font that is used both by the 1C configurator and in the 1C Enterprise mode. Fonts can be controlled directly from the 1C language.

Of course, to some it may seem like "all sorts of interface gadgets", but for many it is important to be able to customize the program "for themselves."

1C fonts for the programmer

The 1C programmer spends most of his working time writing programs in the 1C language, which are located in.

The texts of the programs have a standard, historically established color. It may seem strange to some, especially to those who started working with 1C after Microsoft Visual Studio.

Setting up 1C fonts for programming is done in the Configurator in the Service / Parameters menu.

On the Modules tab, you can select the required 1C font and its size. The text color is set separately for various elements of the 1C language.

Example 1 setting colors.

Example 2 for adjusting colors.

These settings are computer / user dependent and not specific to a specific configuration / database.

Configuration Styles

How the program will look in Enterprise mode is specified in a specific configuration. The settings are in the list, in the General / Styles branch.

To change configuration styles, a special editor opens, which allows you to change 1C fonts and colors for various form elements - similar to how it is done in Windows.

An example of non-standard 1C font settings.

1C font in printed form

1C printable forms (documents, reports) in the configurator are called Layouts. They are located either in the General / Layouts branch or in a specific reference, document, report, in the Layouts internal branch.

1C font can be specified in a cell. Select one or more cells, right-click on them. In the properties window, you can select the 1C Font and Text Color properties.

An example of such a function:

Function OnOutputString (LineDesign ,StringData)
// We check a certain condition, "Service" is a column of the list
IfStringData.Service = True Then
// change the background color
LineDecoration.BackgroundColor = WebColors.Red;
// make the text color in the "Service" cell bold
LineStyle.Cells.Service.Font = New Font (LineStyle.Cells.Service.Font, True);
EndIf;
EndFunction

Implemented in version 8.3.10.2168.

We have implemented a mechanism for fast scaling of forms. Most of it is intended, of course, for users, but developers can also use it if necessary.

We believe that this mechanism will be convenient and useful in cases where you need to quickly and easily, or briefly and temporarily increase or decrease the scale of the application data displayed in the form.

You probably know that you can make the font larger by changing the screen resolution. And some time ago, we refined platform mechanisms to ensure that application solutions are clearly and correctly displayed at different screen resolutions (DPI). But changing DPI is a relatively complex and "fundamental" operation. First, not all users have the knowledge to do it.

And secondly, it affects all applications installed on the computer. If you need to increase or decrease something only "here and now", or if users are not qualified, they will not change DPI.

In such a situation, the mechanism for quickly scaling forms will come in handy. If the user does not have good eyesight, he can easily make himself "bigger". And if your eyesight is good, but not the entire table fits in the width of the form, you can make it "smaller".

In client applications

To change the scale of managed forms and documents in client applications, you can use either the main menu or a command from the system command area:

The dialog for setting the scale opens in the upper right corner, but you can move it to any place on the screen that is convenient for you:

The shape can be scaled from 50% to 400%. In this case, not only the size of the font and elements is increased or decreased, but the whole form is rebuilt to fit the new sizes of the elements.

For example, you can increase it up to 200%.

Or vice versa, reduce it to 70%.

Zooming is done on the client and does not require a server call.

Scaling is applied only to the content of the form. Systembars, favorites dialog, and history dialog are not scalable. Also, frames and scrollbars inside the form are not scaled. Resizing these elements can be achieved by changing the screen resolution (DPI).

By moving the slider, you change the scale for one shape. But if you want to apply this scale to all forms, then there is a button for this. Install for everyone... The same button will help you to return the scale of all shapes to 100% at any time.

Despite the fact that we have laid down a fairly large range of zooming, we do not believe that all of it will necessarily be used. According to our estimates, users who want to use this feature will slightly reduce all forms, to 90-95%, and on the contrary, some forms will slightly increase to 105-110%.

Maintain scale

Scales are stored for each form separately in local storage on the user's computer. In addition, the general scale for all forms is stored there, which has a standard value of 100%. When setting a new scale for all shapes, the individual values ​​for each shape are removed.

Form scale in configurator

In the configurator, you can also set the scale at which the form will be shown to the user. To do this, we have implemented the form property Scale... We recommend using this property in cases in which you have previously used Option Scale: Compact... You need to proceed from the fact that in compact mode the scale of the form is approximately 80%.

Shape preview to scale

While editing the form in the configurator, you can see how it will look at different scales. Scale selection from several fixed values ​​is available in the form editor.

As a result, the shape displayed in the preview area will be enlarged, for example, up to 150%.

Displaying pictures

In order for the enlarged forms to look good, you need to have several versions of the same picture, intended for different resolutions. Therefore, the mechanism of variants of pictures, which already exists in the mobile platform, we have extended to the platform for personal computers.

Now, not one picture is specified for display, but a set of variants of this picture in the form of an archive. In this archive there are options for different resolutions and for different interface options. For displaying, the platform selects an option suitable for the current DPI and the scale of the form.

For example, now the checkbox image is a set of several options: for platform 8.2 (normal interface), for platform 8.3 (interface Taxi), for compact mode, for different scales.

Pictures stored in the configuration can also be presented as a set. Now for the picture you can set not only the screen density (scale), but also the version of the interface for which the picture will be used.

Article from the section: "1C: Enterprise"

How to change the font in 1C: Enterprise 8.2

As noted by many users and developers of 1C configurations, changing the font in the settings of the 1C program does not lead to its real change. Users who critically need to increase the font in 1C often find a way out of the situation by changing the screen resolution. But in this case, everything in general increases, and therefore this is not the best way out. Changing the font in the operating system also does not give the desired result - in 1C the font is unchanged.

how to increase the font in 1C

In order to increase (or decrease) the font in 1C: Enterprise 8.2, in the configurator mode, in the General section of the configuration tree, create an appropriate style, where the font should be set to the desired size. In addition to the size and outline of the font, the style mechanism in 1C allows you to design a lot of other things, but we will restrict ourselves to the font. When the style is created, it is necessary to assign the value of the created style to the variable of the global context MainStyle in the predefined procedure BeforeSystemWorking () of the global configuration module:

MainStyle = StyleLibrary.<ИмяСозданногоСтиля>;

In the described version, the font will change in accordance with the style settings for all users of the 1C: Enterprise program at once. The developer can diversify the solution by creating styles for different users and assigning the style corresponding to the given user to the MainStyle global context variable. Such information can be stored, for example, in an information register, in which it will appear as a measurement user, and the resource will be style... It is possible without creating a register of information, using the conditional operator, depending on the value of UserName (), assign a style to the desired user to the MainStyle variable.

Check out other articles in the section "1C: Enterprise" :

To the main page of the site

Tricks when working in 1C: Accounting 8.3 (revision 3.0) Part 1

2016-12-07T18: 25: 43 + 00: 00

With this article, I open a series of notes on effective techniques for working in 1C: Accounting 8.3. I'll tell you about the tricks that few people know and even fewer people use in their work. The techniques that will be discussed can significantly save time and improve your qualifications as a specialist.

So, let's begin!

Reception number 1: Change the boundaries of reports and printable forms.

a) Suppose we have a printed form of an invoice. As you can see, the column Quantity barely fits the title. I would like to make it wider.

b) It is done like this: hold down the key Ctrl on the keyboard and move the mouse pointer to the border of the column. Now press the left mouse button and drag the border to the place you need, as if "pushing" the column. In the same way, the column can be not only enlarged, but also reduced.

c) Done!


Reception number 2: Automatic setting of boundaries.

Now turn your attention to the column Product... It is clearly wider than it could be.

a) While holding down the key Ctrl move the mouse pointer to the right border of the column. Now make a double click with the left mouse button.

b) The size of the column has decreased and became exactly what you need!


Technique # 3: Increase the height of lines in lists.

It happens that some names in the lists are so long that they do not fit into the column. And I want to push the column not in width, but in height.

Consider the following nomenclature list, which has very long names. To make them fit, let's triple the height of its lines.

a) Find and click the "More" button on the panel of this list. From the drop-down list, select "Change form ...".

The work of an accountant is not easy, a heap of papers, constantly in front of a computer, how to preserve eyesight and work comfortably? One of the accountant's main tools is the 1C program, but the program interface is not always comfortable for the eyes and directly depends on the monitor, resolution, etc., but often there is no way to change the monitor, and the need to enlarge the font is always present.

If in version 7.7 the font was increased through the SERVICE - PARAMETERS - INTERFACE menu, then in 8.2 there is no longer such a tab. 1C 8 uses themes and fonts installed by default in the system, so the easiest way to increase the 1c font is to increase the system font of the operating system. Consider the available methods for increasing the size of system fonts for different generations of Windows operating systems.

Increasing the system font in Windows XP:

In fact, gadgets for scaling applications appeared in subsequent versions of operating systems from Microsoft, however, XP still has the ability to adjust the font size without editing system files. The easiest way is to reduce the monitor resolution, but this is not our method, since solving one problem we will get a new one in the form of blur, which is even worse for the eyes. Click "Start" - "Control Panel" - "Screen" - "Appearance" tab and at the bottom of the window is the desired item "Font size", select the option that suits us and reboot to apply the settings correctly. Moreover, if you go to "Effects", you can increase the size of the icons, which will be much more convenient and pleasant.

Increasing the system font in Windows 7:

Microsoft is building on the friendliness of its systems in the wake of Apple (author's note) and is focusing heavily on visual and personalized desktop experiences. The font settings are now available from the Display menu. We go "Start" - "Control Panel" - "Screen" and now we are immediately offered the item "Ease of reading from the screen" where we scale the font, icons and everything connected with one of three options. There is one caveat: on different graphics adapters in some applications, an increase in the system font can actually be displayed by "Scaling" with all the artifacts and blur that result from this.

Increasing system font in Windows 8 / 8.1:

Finally, the core of the system seems to be "finished" and Microsoft is tightly engaged in the Visability of its product. We simply and quickly set up a convenient work area.

Due to the absence of the Start button, there are two ways to get to the Screen settings menu:

1. Press the right mouse button in any free space on the desktop and select the item "Screen resolution" there, quite intuitively drag the slider to the desired result.

2. Move the cursor to the right corner of the screen until the appearance of the auxiliary panel, where in the search we write "Screen" and select the appropriate icon, then on a whim.

Increasing system font in Windows 10:

Finally, Microsoft heard its slaves and crossed its new products with the old familiar and beloved workspace organization from Windows XP-7. We go "Start" - "Options" - "System" - "Screen" and there, on the right side of the window, drag the slider to the desired result.

We have mastered the basic possibilities of increasing the font in 1C, but there are times when, for some reason, this is inapplicable or unavailable, then ...

Increasing the font in 1C 8.2 by means of 1C itself

1 Method for Users. You can slightly improve the situation with fonts yourself directly in the platform CONFIGURATOR 8.2 through the SERVICE - PARAMETERS - TEXTS menu.

Here the font will change directly in the documents, but not in the menu, etc. Accordingly, choosing the type of font and its size can be considered "to increase the font in 1c with your own hands" made, but it is difficult to call it a big victory.

Method 2 for advanced users. The beauty of tabular 1C lies in its structure of data organization, and what is more, 1C itself is essentially a configuration, and a technological platform is just an interface for working with a database. Each table has links with another table, data have definable links with other data, and mathematics works at the level of rules also set in the configuration. According to this rule, the design is also included in the configuration itself, therefore it is available for editing.

We warn you that the following actions, if performed ineptly, can lead to problems! Be sure to make a backup copy and be careful, if some actions are not clear, then it is better to stop and contact the specialists!

Open the configuration in the "Configurator" mode. We select the item "Configuration" and then "Open configuration", wait a little until the base structure appears in the right part of the window. We go down to the item "Styles", open and select "Main" for editing. Further on the right side, we can completely personalize the design of 1C for ourselves, we will not describe the process in detail, since further work is for experienced people who understand, but there are several warnings for hackers:

Changes are available in the configuration after removing the corresponding elements from support, which will make the configuration atypical and subsequent updates will need to be done taking into account the preservation of this data area. More details in "Updating a non-standard 1C configuration". The changes made will be applied to the entire configuration, which will affect all users during network operation.

If you have any questions or suggestions, we will add to the article without any problems! The main thing is to be careful: all actions are carried out at your own peril and risk, you are also responsible for them!

Top related articles