-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notifications able to open local files #7
Comments
It would be nice to have that feature. I tried this enhancement with a function name instead of using a hyperlink not on the toast notification but on the dialog box. I had something like this: Whenever the dialog box opens or pop up, it executes the function name by opening the settings form without waiting for the user to click on the link "Go to settings". I also observe that when I put a function name there and with parameters, it doesn't work. This works but without waiting for user on click event: This doesn't work with parameters |
Thanks for the great idea! I will look into this. :) |
@US-Ali Thank you for the excellent idea. This function has been added to Toast & Simple dialog boxes. An update is available now. Check out the latest sample database and let us know. |
I tried the latest feature and sadly I don't know what went wrong. On your sample database, it was working perfectly but when I try to implement it in mine, it doesn't work. I get the following error message from a toast notification saying: Another strange thing I observed is that the dialog box is now stretching across the entire screen instead of it's regular size. I have tried all your updates on my database before now and they all seems to work fine except for this latest update. More strange is the fact that I removed the latest DLL file and replaced it with the previous one that was working perfectly for me to see if the dialog box stretching across the whole screen will stop, but it didn't. So right now I am confused about what could be responsible for it. Why will the hyperlink enhancement work perfectly on your sample database and not on mine anymore and why will the size of the dialog box suddenly starts displaying across the length of my screen? |
regarding |
I am not sure it has anything to do with the reasons above. I say that because I am able to run your sample database on the same system without any problem. After my previous comment, I did a system restart, removed the dll and downgraded it to the last one before this recent update and the dialog box was displaying correctly on my database. I did a swap again of the dll to the most recent one just to double check and the problem started with the dialog box displaying across the whole screen. I am unable to say if it's the dll but that is what it appears to be right now. |
Just to make sure: You are able to run the sample database without any problem. that includes, correct size of the dialogboxes as well as no |
Exactly! But that's not the case when I move this to my database. |
Please let me know how this went. |
|
point 1. Fixed. point2. Can you somehow share your code/database so I can find out more where the problem might be? especially if the sample database is showing the correct size. |
I think I have figured out something that can help you in fixing this. I tried the following on my database:
gave this sample message (SampleMessage2.png) at https://github.com/US-Ali/Snapshots
gave this sample message (SampleMessage2.png) at https://github.com/US-Ali/Snapshots
on In Conclusion: |
@US-Ali Excellent findings. I fixed the parameter issue as well as dialogbox size issue. Please have a look. Note: |
Excellent fix @krishKM and thanks for investing so much of your time on this. I am thinking again, can the parameter feature be extended further to do the following:
|
Point1 is already possible. You just need to have correct public function in your application. |
This was raised by "ridders" (a member from access-programmers.co.uk).
Toast notifications can now accept local files as hyperlink and open them. Simply format your hyperlink with a local file. I.E
<a href="F:\foldername\pictures\Apple.png">View Apple</a>
While doing this, we also added new function that docmd.openForm command can be passed as hyperlink and open a form in the host application. However this is under testing as I'm not sure if a specific Office PIA dll would work for everyone. Check out the latest sample and let us know.
The text was updated successfully, but these errors were encountered: