עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

<toggleButton GETIMAGE הוספת RIBBON לWORD - ויבי

Featured Replies

פורסם

יש לי בעיה עם הוספת תמונה מהמחשב לסרגל.


<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<customUI xmlns="[url]http://schemas.microsoft.com/office/2006/01/customui"[/url] onLoad="OnLoad">
<ribbon startFromScratch="false">
<tabs>
<tab id="myTab" label="סרגל " getVisible="GetVisible">

<group id="group1" label="Group 1">
<toggleButton id="btnW" getLabel="GetLabel" size="large" onAction="W_ClickHandler" getImage="GetImage"/>
</group>

</tab>
</tabs>
</ribbon>
</customUI>

והפונקציה:


Sub GetImage(control As IRibbonControl, ByRef image)
Dim strPath As String
strPath = "C:\"


Select Case control.id
Case "btnW"
Select Case PressedState
Case True:
image = LoadPicture(strPath & "w.png")
Case False:
image = LoadPicture(strPath & "now.png")
End Select
End Select
End Sub

אם אני שמה תמונה מסוג JPG היא לא מופיעה.

אם התמונה מקובץ PNG מקבלת שגיאה 481 - INVALID FILE

(הוספתי את התמונות לCUSTOM UI)

מה הבעיה?

פורסם

ערכי בבקשה את הכותרת כך שתכיל את תמצית השאלה, שפת התכנות בה את עובדת וכד'.

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.