Since Microsoft included this feature in Windows I started to use it.
I didn’t know how to capture menus and DropDown controls because when I click on the button New the control lost focus and closd automatically.
HOW TO capture menu using Snipping Tool?
Open the Snippng Tool, click Cancel so that the toll will be still opened.
Then, when you want capture a menu or a drop down control activated, use Ctrl+PrtScn.
If you want capture a new one, press again New then Cancel and use Ctrl+PrtScn.
Did my HOW TO help you? Leave a reply.
My Tip & Trick help you to implement Trim function in C/AL for Microsoft Dynamics Nav.
Removes all white-space characters from the start and end of a string.
You can use the C/AL function DELCHR with the following syntax:
NewString := DELCHR(String [, Where] [, Which])
So, you can use the following code:
String := DELCHR(String,'<>',' ');
TrimStart or LTrim
Removes all white-space characters from the start of a string.
String := DELCHR(String,'<',' ');
TrimEnd or RTrim
Removes all white-space characters from the end of a string.
String := DELCHR(String,'>',' ');
Since “spaces” are used as the default for Which, we can skip second parameter and write code like this:
String := DELCHR(String,'<>');
Do you think that my Tip & Trick is useful? Leave a reply.