How to set a client setting in code?

How can I set the TAB as ENTER setting in code? We have it set and several times a week, it resets - which confuses the user.

To be clear, you are setting this and it’s reverting several times a week? Are you purging personalizations?

That’s correct Aaron. I don’t know what purging personalizations is so I assume no. I do manualyl clear the %appdata% cache spots at every startup

You shouldn’t do that @Chris_Conn, that’s bad for performance clearing the cache all the time… (not sure if it affected your Set Tab as Enter issue but still that’s a bad idea in general)

May a suggest an unorthodox approach to this problem? Teach your users to use TAB? I am not being sarcastic here Tab as Enter is dumb anyways comes from the AS400 days but hey it’s 2017! Users can learn :slight_smile:

3 Likes

We use this feature specifically for barcode scanning - our scanners can append an ENTER but not a TAB. We’re not gonna make the user tab after every scan (maybe we’re just lazy but it seems counter-intuitive to have to touch a keyboard for every scan). I think I am just going to hack the controls and hijack the key messages and fake them as needed.

The reason I cleared the cache before every startup is because we want to ensure they always have the latest version of the customization (I am adding features and fixes about every two days). They only use one screen (Inventory Move) and it stays on all day long.

Me fixing a programming issue…

1 Like

Bummer… Hmm are you positive your scanners can’t do TAB? I haven’t seen one that can’t in a longggg time… Extended ASCII encoded labels should work with MOST scanners. What model are they?

Yea I guess we’re paying the price for these $60 scanners :slight_smile:
Taotronics TT-BS022

They can add ENTER or ALT?!? Who the hell adds ALT as a suffix?

They theory is that we expect the warehouse to break and lose these things. So the cheaper the better.

By the way I created an IMessageFilter and it’s working great to emulate that pesky setting.

Note to self (after the fact) - Disable the E10 Enter as Tab after implementing your own code to do so unless you want your warehouse to call with complaints of double tabbing…

1 Like